pub fn cache_import(dir: &Path) -> Result<usize>
Import tarballs from dir into cache. Expects manifest.json (from cache export) or .tgz files named pkg-version.tgz. Returns number of packages imported.