Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jrray committed Jun 7, 2024
1 parent 3f9b50d commit 59fd08a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/spfs/src/tracking/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,16 @@ impl<T> Manifest<T> {
}
},
// do not expect any other components after normalizing
_ => continue,
x => {
tracing::trace!(%path, ?x, "unexpected component");
continue;
}
}
}
match last {
None => Err(MkError::NotFound(path)),
Some(Component::Normal(step)) => {
tracing::trace!(%path, %step, "inserting");
entry.entries.insert(step.to_string(), new_entry);
Ok(entry.entries.get_mut(step).unwrap())
}
Expand Down

0 comments on commit 59fd08a

Please sign in to comment.