Doc for Store::retrieve_for_module()
This commit is contained in:
parent
4e042e4de2
commit
8d855f4c78
1 changed files with 10 additions and 0 deletions
|
@ -562,6 +562,16 @@ impl Store {
|
|||
}
|
||||
|
||||
/// Iterate over all StoreIds for one module name
|
||||
///
|
||||
/// # Returns
|
||||
///
|
||||
/// On success: An iterator over all entries in the module
|
||||
///
|
||||
/// On failure:
|
||||
/// - RetrieveForModuleCallError(GlobError(EncodingError())) if the path string cannot be
|
||||
/// encoded
|
||||
/// - GRetrieveForModuleCallError(GlobError(lobError())) if the glob() failed.
|
||||
///
|
||||
pub fn retrieve_for_module(&self, mod_name: &str) -> Result<StoreIdIterator> {
|
||||
let mut path = self.path().clone();
|
||||
path.push(mod_name);
|
||||
|
|
Loading…
Reference in a new issue