aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-07-27 18:17:43 +0200
committerJavi Fontan <jfontan@gmail.com>2018-07-27 18:17:43 +0200
commit6f8f2ed229cc88a175d6ea47a53135b6dcef6912 (patch)
tree15921fd23246f34b8d5b1a6f70c0dccabcc44fc1 /storage/filesystem
parent823abfeb3d677a74e5bb50b20cbe8cc0306e9075 (diff)
downloadgo-git-6f8f2ed229cc88a175d6ea47a53135b6dcef6912.tar.gz
storage/filesystem: remove duplicated IndexStorage
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'storage/filesystem')
-rw-r--r--storage/filesystem/storage.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go
index 6af906d..622bb4a 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -2,9 +2,6 @@
package filesystem
import (
- "fmt"
-
- "gopkg.in/src-d/go-git.v4/plumbing/format/index"
"gopkg.in/src-d/go-git.v4/storage/filesystem/dotgit"
"gopkg.in/src-d/go-billy.v4"
@@ -54,15 +51,3 @@ func (s *Storage) Filesystem() billy.Filesystem {
func (s *Storage) Init() error {
return s.dir.Initialize()
}
-
-type IndexStorage struct {
- dir *dotgit.DotGit
-}
-
-func (IndexStorage) SetIndex(*index.Index) error {
- return fmt.Errorf("not implemented")
-}
-
-func (IndexStorage) Index() (*index.Index, error) {
- return nil, fmt.Errorf("not implemented")
-}