Skip to main content

add

Function add 

Source
pub fn add(files: &[PathBuf]) -> Result<()>
Expand description

Adds files to the local archive cache.

§Errors

Returns an error if the archive cache root cannot be determined or if copying files fails.

§Panics

This function does not explicitly panic.