/
View dependency graph
Depends on
- dh-cargo (dh-sequence-cargo)
- cargo, debhelper-compat, librust-filetime-0.2+default-dev, libstd-rust-dev, rustc
README (full)
Rust cp_r
https://github.com/sourcefrog/cp_r/
A small Rust library to copy a directory tree preserving mtimes and permissions, with minimal dependencies, and with clean error reporting.
Features
- Minimal dependencies: currently just
filetimeto support copying mtimes. - Returns a struct describing how much data and how many files were copied.
- Tested on Linux, macOS and Windows.
- Copies mtimes and permissions.
- Takes an optional callback to decide which entries are copied or skipped,
CopyOptions::filter. - Takes an optional callback to show progress or record which files are copied,
CopyOptions::after_entry_copied.
See the docs for more information.
Patches welcome!
License: MIT.
| dir | .github/ |
| dir | debian/ |
| dir | src/ |
| dir | tests/ |
| file | .cargo_vcs_info.json |
| file | .gitignore |
| file | Cargo.toml |
| file | Cargo.toml.orig |
| file | LICENSE |
| file | NEWS.md |
| file | README.md |