Remove unused code
This commit is contained in:
parent
22aecc7022
commit
3484858c3d
1 changed files with 0 additions and 20 deletions
|
@ -52,26 +52,6 @@ impl StorageBackend {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_file_ids(&self, m: &Module) -> Option<Vec<FileID>> {
|
|
||||||
let list = glob(&self.prefix_of_files_for_module(m)[..]);
|
|
||||||
|
|
||||||
if let Ok(globlist) = list {
|
|
||||||
let mut v = vec![];
|
|
||||||
for entry in globlist {
|
|
||||||
if let Ok(path) = entry {
|
|
||||||
debug!(" - File: {:?}", path);
|
|
||||||
v.push(FileID::from(&path));
|
|
||||||
} else {
|
|
||||||
// Entry is not a path
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Some(v)
|
|
||||||
} else {
|
|
||||||
None
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn iter_ids(&self, m: &Module) -> Result<IntoIter<FileID>, StorageBackendError>
|
pub fn iter_ids(&self, m: &Module) -> Result<IntoIter<FileID>, StorageBackendError>
|
||||||
{
|
{
|
||||||
glob(&self.prefix_of_files_for_module(m)[..])
|
glob(&self.prefix_of_files_for_module(m)[..])
|
||||||
|
|
Loading…
Reference in a new issue