Skip to content

Commit

Permalink
storage/filesystem: remove duplicated IndexStorage
Browse files Browse the repository at this point in the history
Signed-off-by: Javi Fontan <[email protected]>
  • Loading branch information
jfontan committed Jul 27, 2018
1 parent 823abfe commit 6f8f2ed
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions storage/filesystem/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
}

0 comments on commit 6f8f2ed

Please sign in to comment.