diff options
Diffstat (limited to 'core/object.go')
-rw-r--r-- | core/object.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/object.go b/core/object.go index e5f9a5e..d73ab0f 100644 --- a/core/object.go +++ b/core/object.go @@ -39,14 +39,6 @@ type Object interface { Writer() (ObjectWriter, error) } -// ObjectStorage generic storage of objects -type ObjectStorage interface { - NewObject() Object - Set(Object) (Hash, error) - Get(Hash) (Object, error) - Iter(ObjectType) (ObjectIter, error) -} - // ObjectType internal object type's type ObjectType int8 @@ -110,12 +102,6 @@ func ParseObjectType(value string) (typ ObjectType, err error) { return } -// ObjectIter is a generic closable interface for iterating over objects. -type ObjectIter interface { - Next() (Object, error) - Close() -} - // ObjectLookupIter implements ObjectIter. It iterates over a series of object // hashes and yields their associated objects by retrieving each one from // object storage. The retrievals are lazy and only occur when the iterator |