feature(oci): use local index as resolution cache when appropriate, fixes #289 (#294)

This commit is contained in:
Alex Zenla
2024-07-31 16:05:15 -07:00
committed by GitHub
parent 902fffe207
commit 8216ab3602
9 changed files with 72 additions and 5 deletions

View File

@ -138,7 +138,7 @@ impl VfsNode {
header.set_mode(self.mode);
if let Some(link_name) = self.link_name.as_ref() {
header.set_link_name(&PathBuf::from(link_name))?;
header.set_link_name(PathBuf::from(link_name))?;
}
header.set_size(self.size);
Ok(header)