mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-16 07:32:51 +00:00
datastore: restrict datastores list_images method scope to module
Drop the pub scope for `DataStore`s `list_images` method. This method is only used to generate a list of index files found in the datastore for iteration during garbage collection. There are no other call sites and this is intended to only be used within the module itself. Allows to be more flexible for future method signature adaptions. No functional changes. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
f1dd1e3557
commit
54763b39c7
@ -970,7 +970,7 @@ impl DataStore {
|
||||
ListGroups::new(Arc::clone(self), ns)?.collect()
|
||||
}
|
||||
|
||||
pub fn list_images(&self) -> Result<Vec<PathBuf>, Error> {
|
||||
fn list_images(&self) -> Result<Vec<PathBuf>, Error> {
|
||||
let base = self.base_path();
|
||||
|
||||
let mut list = vec![];
|
||||
|
Loading…
Reference in New Issue
Block a user