aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/index.go
blob: e087296ec9dbd34210e76868b7caf79f682489d7 (plain) (blame)
1
2
3
4
5
6
7
8
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)
}