Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Aug 18, 2024
1 parent cc2aea4 commit 4227ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/src/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ impl Collection {

pub fn sig_from_record(&self, record: &Record) -> Result<SigStore> {
let match_path = record.internal_location().as_str();
eprintln!("XXX match path: {}", match_path);
let selection = Selection::from_record(record)?;
let sig = self.storage.load_sig(match_path)?.select(&selection)?;
assert_eq!(sig.signatures.len(), 1);
Expand Down
1 change: 1 addition & 0 deletions src/core/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pub struct FSStorage {
subdir: String,
}

/// Store files in a zip file.
#[ouroboros::self_referencing]
pub struct ZipStorage {
mapping: Option<memmap2::Mmap>,
Expand Down

0 comments on commit 4227ddc

Please sign in to comment.