diff options
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r-- | storage/memory/storage.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go index 6a56d6a..4fb6186 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -3,7 +3,6 @@ package memory import ( "fmt" - "io" "gopkg.in/src-d/go-git.v4/config" "gopkg.in/src-d/go-git.v4/core" @@ -110,11 +109,6 @@ func (o *ObjectStorage) NewObject() core.Object { return &core.MemoryObject{} } -// Writer method not supported on Memory storage -func (o *ObjectStorage) Writer() (io.WriteCloser, error) { - return nil, core.ErrNotImplemented -} - // Set stores an object, the object should be properly filled before set it. func (o *ObjectStorage) Set(obj core.Object) (core.Hash, error) { h := obj.Hash() |