pub fn copy_host_subdir(
volume: &Path,
sub: &Path,
to_root: &Path,
cap: u64,
bytes: &mut u64,
) -> Result<(), CopyDirError>Expand description
As copy_host_dir, for the directory sub below the volume volume, copied to
to_root/sub. sub is walked without following links, so one that is a link, or
passes through one, is refused. to_root is made either way; a sub that is not in
volume copies nothing.