diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-07-27 18:17:43 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-07-27 18:17:43 +0200 |
commit | 6f8f2ed229cc88a175d6ea47a53135b6dcef6912 (patch) | |
tree | 15921fd23246f34b8d5b1a6f70c0dccabcc44fc1 /storage | |
parent | 823abfeb3d677a74e5bb50b20cbe8cc0306e9075 (diff) | |
download | go-git-6f8f2ed229cc88a175d6ea47a53135b6dcef6912.tar.gz |
storage/filesystem: remove duplicated IndexStorage
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'storage')
-rw-r--r-- | storage/filesystem/storage.go | 15 |
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") -} |