diff --git a/src/storage/backend.rs b/src/storage/backend.rs index 0a123c83..077cf8b4 100644 --- a/src/storage/backend.rs +++ b/src/storage/backend.rs @@ -59,9 +59,8 @@ impl StorageBackend { StorageBackend::new(path) } - fn get_file_ids(&self) -> Option> { - debug!("Getting files from {}", self.basepath); - let list = glob(&self.basepath[..]); + fn get_file_ids(&self, m: &Module) -> Option> { + let list = glob(&self.prefix_of_files_for_module(m)[..]); if let Ok(globlist) = list { let mut v = vec![];