Skip to main content

copy_dir_filtered

Function copy_dir_filtered 

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

Copies the directory at src to dst, skipping build artifact directories.

This is similar to foundry_compilers::project_util::copy_dir, but skips directories like out/, cache/, and broadcast/ which are build artifacts that should not be copied to temporary test workspaces.