wip on new tests
This commit is contained in:
parent
e275877d73
commit
34c12508f5
2 changed files with 2 additions and 1 deletions
|
@ -47,6 +47,7 @@ impl Index {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn remember(&mut self, item: RepositoryItem) {
|
pub fn remember(&mut self, item: RepositoryItem) {
|
||||||
|
println!("remembering {:#?}", item);
|
||||||
self.items.push(item.into());
|
self.items.push(item.into());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ impl<'a> Repository<'a> {
|
||||||
source_path,
|
source_path,
|
||||||
destination_path,
|
destination_path,
|
||||||
destination_path.strip_prefix(self.path)?,
|
destination_path.strip_prefix(self.path)?,
|
||||||
Box::from(version),
|
version,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue