Expand description
File management system with async operations and monitoring
This module provides comprehensive file management capabilities including:
- Async file operations (read, write, copy, move, delete)
- File watching and change detection
- File metadata and permissions management
- Atomic file operations with rollback
- File compression and decompression
- Temporary file management
- File type detection and validation
- Progress tracking for large operations
Structs§
- File
Change Event - File change event
- File
Manager - Main file manager
- File
Metadata - File metadata information
- File
Operation Options - File operation options
- File
Operation Progress - File operation progress information
- File
Watcher - File watcher for monitoring file system changes
Enums§
- File
Change Type - File change types
- File
Operation Status - File operation status
- File
Type - File type enumeration based on content and extension
Functions§
- calculate_
file_ hash - Calculate SHA-256 hash of a file
- get_
file_ extension - Get file extension as lowercase string
- safe_
path_ join - Join paths safely, preventing directory traversal
- sanitize_
filename - Sanitize filename by removing/replacing invalid characters