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.
- Simple API: Intuitive and straightforward methods for common file management tasks.
- Lightweight: Minimal overhead, focusing on essential file operations.
To include hxFileManager
in your Haxe project, add it to your project dependencies:
{
"dependencies": {
"hxFileManager": "1.0.0"
}
}
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");
}
}
- HeroEyad
This project is licensed under the MIT License. See the LICENSE file for details.