Module dirs

Module dirs 

Source
Expand description

Directory operations for creating, copying, and removing directories.

This module provides cross-platform directory operations with proper error handling and Windows long path support.

Functionsยง

copy_dir
Recursively copies a directory and all its contents to a new location.
copy_dir_all
Copy a directory recursively (alias for consistency)
ensure_dir
Ensures a directory exists, creating it and all parent directories if necessary.
ensure_dir_exists
Alias for ensure_dir for consistency
ensure_parent_dir
Ensures that the parent directory of a file path exists.
remove_dir_all
Recursively removes a directory and all its contents.