add verify git read func

This commit is contained in:
runzexia
2019-04-01 21:25:01 +08:00
committed by zryfish
parent 828de74cc5
commit 70882b5a57
309 changed files with 63573 additions and 93 deletions

View File

@@ -0,0 +1,9 @@
package storer
import "gopkg.in/src-d/go-git.v4/plumbing/format/index"
// IndexStorer generic storage of index.Index
type IndexStorer interface {
SetIndex(*index.Index) error
Index() (*index.Index, error)
}