Module copy

Source
Expand description

Home for xvc file copy command.

It contains CopyCLI to handle command line options and cmd_copy to execute the command.

Structs§

CopyCLI
CLI for xvc file copy.

Functions§

cmd_copy
Entry point for xvc file copy command. Copies a file (and its records) to a new location in the repository
get_copy_source_dest_store
Build a store to match destination path entities with source path entities. It creates the destination entities with [XvcRoot::new_entity()] if they are not already found. stored_xvc_path_store and stored_xvc_metadata_store are loaded with XvcRoot::load_store, and source_xvc_paths and source_xvc_metadata are the results of [targets_from_disk].