stub namespaces now that i realize file trees arent namespaces
This commit is contained in:
5
files.go
5
files.go
@@ -2,6 +2,7 @@ package storage
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"local/storage/resolve"
|
||||
@@ -34,6 +35,10 @@ func NewFiles(root string) (*Files, error) {
|
||||
}, os.MkdirAll(root, os.ModePerm)
|
||||
}
|
||||
|
||||
func (b *Files) Namespaces() ([][]string, error) {
|
||||
return nil, errors.New("not impl")
|
||||
}
|
||||
|
||||
func (b *Files) List(ns []string, limits ...string) ([]string, error) {
|
||||
namespace := resolve.Namespace(ns)
|
||||
limits = resolve.Limits(limits)
|
||||
|
||||
Reference in New Issue
Block a user