aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-10 01:48:43 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-10 01:48:43 +0200
commit6f1d1e00a7c615209cf6b25e314d033bda3b5d09 (patch)
tree51492dae8b010a25a2116e5c8cbeadeef1fa3726 /storage/memory/storage.go
parente013b297b14949aadaec66deaedc130e86c30afb (diff)
downloadgo-git-6f1d1e00a7c615209cf6b25e314d033bda3b5d09.tar.gz
storage: filesystem ref storage, and not not exists file handling
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r--storage/memory/storage.go6
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()