pub fn fetch(
output_snd: &XvcOutputSender,
xvc_root: &XvcRoot,
opts: &BringCLI,
) -> Result<()>Expand description
Download files in opts.targets from opts.storage to cache.
- Retrieves the storage record from
xvc_root. - Expands globs in
opts.targets. - Gets the corresponding cache path for each file target.
- Calls
storage.receivefor each of these targets.