Fixup Store
This commit is contained in:
parent
c595f5a1e8
commit
030b5fc888
1 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,10 @@ impl<'a> Store<'a> {
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn load(&self, id: FileID) -> File {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
|
|
||||||
fn get_new_file_id(&self) -> FileID {
|
fn get_new_file_id(&self) -> FileID {
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
let hash = FileHash::from(Uuid::new_v4().to_hyphenated_string());
|
let hash = FileHash::from(Uuid::new_v4().to_hyphenated_string());
|
||||||
|
|
Loading…
Reference in a new issue