aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-07-27 19:06:19 +0200
committerGitHub <noreply@github.com>2018-07-27 19:06:19 +0200
commitd314e86c179f755ca9c92c60d6b0aedd9f568767 (patch)
treedb17b0a6c92b1f9120f02ba56760f6106cdcf4d8 /storage
parent0ade8fb60e759da42f8779b2a5c8a3f422ce4d69 (diff)
parentb4cd0899e24e0e8c7910bcdc33c96dc463dcb1e4 (diff)
downloadgo-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.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")
-}