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.3.3"
}
}Here's a basic example of how to use hxFileManager:
import hxFileManager.FileManager;
class Main {
static function main() {
// Perform file operations
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.
