Fixup Store

This commit is contained in:
Matthias Beyer 2015-12-27 23:18:55 +01:00
parent c595f5a1e8
commit 030b5fc888
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ impl<'a> Store<'a> {
unimplemented!()
}
pub fn load(&self, id: FileID) -> File {
unimplemented!()
}
fn get_new_file_id(&self) -> FileID {
use uuid::Uuid;
let hash = FileHash::from(Uuid::new_v4().to_hyphenated_string());