Re-exports§
pub use backends::Backend;pub use config::Compression;pub use paths::AddPathStatus;pub use paths::DvsPaths;pub use paths::find_repo_root;pub use progress::FileProgress;
Modules§
Structs§
- AddResult
- Result of adding a single file.
- File
Metadata - The dvs metadata for a given file
- File
Status - GetResult
- Result of getting a single file.
- Hashes
- Status
Filter - Which paths to get status for
eg you can pass dir1/ dir2/ and it will expand to dir1/* dir2/*
If
recursiveistrue, then it will expand to dir1//* dir2//*
Enums§
Constants§
Functions§
- add_
files - Adds files matching a glob pattern to DVS.
- format_
size - Formats a byte count into a human-readable string (e.g. “10.5 MB”).
Uses base-1024 divisors to match
ls -h/du -houtput. - get_
files - Gets files matching a glob pattern from DVS storage.
- get_
status - set_
num_ threads - Set the number of threads for DVS parallel operations. Pass 0 to clear (revert to env var / automatic detection).