mirror of
https://github.com/restic/restic.git
synced 2024-12-26 01:37:12 +00:00
Rename non-exported function
This commit is contained in:
parent
4cefd456bb
commit
5ce1375ddd
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ func listIndexIDs(repo *repository.Repository) (list backend.IDs) {
|
||||||
return list
|
return list
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cmd CmdRebuildIndex) RebuildIndex() error {
|
func (cmd CmdRebuildIndex) rebuildIndex() error {
|
||||||
debug.Log("RebuildIndex.RebuildIndex", "start rebuilding index")
|
debug.Log("RebuildIndex.RebuildIndex", "start rebuilding index")
|
||||||
|
|
||||||
packs := loadBlobsFromPacks(cmd.repo)
|
packs := loadBlobsFromPacks(cmd.repo)
|
||||||
|
@ -137,5 +137,5 @@ func (cmd CmdRebuildIndex) Execute(args []string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return cmd.RebuildIndex()
|
return cmd.rebuildIndex()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue