Refactor helpers for more fine-grained possibilities
This commit is contained in:
parent
4464c32b98
commit
176183e718
1 changed files with 5 additions and 1 deletions
|
@ -125,7 +125,11 @@ impl StorageBackend {
|
|||
}
|
||||
|
||||
fn build_filepath(&self, f: &File) -> String {
|
||||
self.basepath + &f.id()[..]
|
||||
self.build_filepath_with_id(f.id())
|
||||
}
|
||||
|
||||
fn build_filepath_with_id(&self, id: FileID) -> String {
|
||||
self.basepath + &id[..]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue