Pass id as &FileID in StorageBackend::get_file_by_id()
This commit is contained in:
parent
103cba0c27
commit
a6ed8e1080
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ impl StorageBackend {
|
|||
* TODO: Needs refactoring, as there might be an error when reading from
|
||||
* disk OR the id just does not exist.
|
||||
*/
|
||||
pub fn get_file_by_id<'a, HP>(&self, m: &'a Module, id: FileID, p: &Parser<HP>) -> Option<File<'a>>
|
||||
pub fn get_file_by_id<'a, HP>(&self, m: &'a Module, id: &FileID, p: &Parser<HP>) -> Option<File<'a>>
|
||||
where HP: FileHeaderParser
|
||||
{
|
||||
debug!("Searching for file with id '{}'", id);
|
||||
|
|
Loading…
Reference in a new issue