Rename List to ListAll

This commit is contained in:
Benedikt Kulmann
2020-04-21 09:16:53 +02:00
parent f8f9d1b7b2
commit d3412c965a
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ func New(cfg *config.Config) settings.Manager {
return &s
}
// List returns all the bundles in the mountPath folder
func (s Store) List() ([]*proto.SettingsBundle, error) {
// ListAll returns all the bundles in the mountPath folder
func (s Store) ListAll() ([]*proto.SettingsBundle, error) {
records := []*proto.SettingsBundle{}
bundles, err := ioutil.ReadDir(s.mountPath)
if err != nil {