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.