Skip to main content

cache_import

Function cache_import 

Source
pub fn cache_import(dir: &Path) -> Result<usize>
Expand description

Import tarballs from dir into cache. Expects manifest.json (from cache export) or .tgz files named pkg-version.tgz. Returns number of packages imported.