Skip to main content

copy_dir_with_progress

Function copy_dir_with_progress 

Source
pub fn copy_dir_with_progress(src: &Path, dst: &Path) -> Result<()>
Expand description

Copies directories with a progress bar for feedback.

Uses iterative traversal with an explicit stack to avoid unbounded recursion. Traversal depth is bounded by MAX_DIR_DEPTH.