Fixup File::get_new_file_id()
This commit is contained in:
parent
003efb6296
commit
312bcf9703
|
@ -114,7 +114,7 @@ impl<'a> File<'a> {
|
||||||
fn get_new_file_id() -> FileID {
|
fn get_new_file_id() -> 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());
|
||||||
FileID::new(FileIDType::UUID, hash);
|
FileID::new(FileIDType::UUID, hash)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue