Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.38 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.38 KB

hxFileManager

hxFileManager is a file management library designed for use with Haxe associated with sys.FileSystem and sys.io.File. It provides a simple and consistent interface for performing file operations across various platforms, making it easy for developers to manage files without dealing with platform-specific details.

Features

  • Simple API: Intuitive and straightforward methods for common file management tasks.
  • Lightweight: Minimal overhead, focusing on essential file operations.

Installation

To include hxFileManager in your Haxe project, add it to your project dependencies:

{
    "dependencies": {
        "hxFileManager": "1.0.0"
    }
}

Usage

Here's a basic example of how to use hxFileManager:

import hxFileManager.FileManager;

class Main {
    static function main() {
        // Example usage of the library
        FileManager.copyFile("source.txt", "destination");
        FileManager.copyFolder('folder', 'destination');
        FileManager.deleteFile("testfolder/test.html");
    }
}

Contributors

  • HeroEyad

License

This project is licensed under the MIT License. See the LICENSE file for details.

Links