Reintroduce instigating paths for snapshot middleware

This commit is contained in:
Lucien Greathouse
2019-10-04 18:36:04 -07:00
parent cb3211cf46
commit 98519da7d9
17 changed files with 36 additions and 10 deletions

View File

@@ -94,9 +94,9 @@ impl ChangeProcessor {
};
let snapshot = match instigating_source {
InstigatingSource::Path(instigating_path) => {
InstigatingSource::Path(path) => {
let entry = imfs
.get(instigating_path)
.get(path)
.expect("could not get instigating path from filesystem");
let snapshot = snapshot_from_imfs(&mut imfs, &entry)