mirror of
https://github.com/restic/restic.git
synced 2026-08-04 21:22:16 +00:00
Rename ListIDs -> List
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ func (r *Repository) Remove(t Type, id ID) error {
|
||||
type IDs []ID
|
||||
|
||||
// Lists all objects of a given type.
|
||||
func (r *Repository) ListIDs(t Type) (IDs, error) {
|
||||
func (r *Repository) List(t Type) (IDs, error) {
|
||||
// TODO: use os.Open() and d.Readdirnames() instead of Glob()
|
||||
pattern := path.Join(r.dir(t), "*")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user