Skip to main content

Module fs_ops

Module fs_ops 

Source
Expand description

File system operations: directory copying, safety validation, and traversal. File system operations: directory copying, safety validation, and traversal.

Functionsยง

collect_files_recursive
Recursively collects all file paths within a directory.
copy_dir_all
Recursively copies a directory whilst maintaining structure and attributes.
copy_dir_all_async
Asynchronously copies an entire directory structure, preserving file attributes and handling nested directories.
copy_dir_with_progress
Copies directories with a progress bar for feedback.
is_safe_path
Checks if a given path is safe to use.
verify_and_copy_files
Validates and copies files from source to destination.
verify_and_copy_files_async
Asynchronously validates and copies files between directories.
verify_file_safety
Verifies the safety of a file for processing.