diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-07-27 19:06:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 19:06:19 +0200 |
commit | d314e86c179f755ca9c92c60d6b0aedd9f568767 (patch) | |
tree | db17b0a6c92b1f9120f02ba56760f6106cdcf4d8 /storage | |
parent | 0ade8fb60e759da42f8779b2a5c8a3f422ce4d69 (diff) | |
parent | b4cd0899e24e0e8c7910bcdc33c96dc463dcb1e4 (diff) | |
download | go-git-d314e86c179f755ca9c92c60d6b0aedd9f568767.tar.gz |
Merge pull request #904 from jfontan/feature/new-packfile-parser
Tests and indexes in packfile decoder
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") -} |