Skip to main content
← dvs documentation Rust API reference

get_files

Function get_files 

Source
pub fn get_files(
    files: Vec<PathBuf>,
    paths: &DvsPaths,
    backend: &dyn Backend,
    dry_run: bool,
    on_file_start: Option<&OnFileStart>,
) -> Result<Vec<GetResult>>
Expand description

Gets files matching a glob pattern from DVS storage.

The pattern is matched against tracked files (paths in metadata folder). The pattern is adjusted based on cwd relative to repo root.