error } type StoreServer interface { Get(ref Reference) ([]byte, *Refdata, []Location, err Put(data []byte) (*Refdata, error) Delete(ref Reference) error } type DirServer interface { Lookup(name PathName) (*DirEntry, error) Put(entry *DirEntry) (*DirEntry, error) Glob(pattern string) ([]*DirEntry, error) Delete(name PathName) (*DirEntry, error) WhichAccess(name PathName) (*DirEntry, error) Watch(name PathName, sequence int64, done <-chan stru }