aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/index.go
blob: 8148454d294a241597f2b7646706c98824e084d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
package storer

import "srcd.works/go-git.v4/plumbing/format/index"

// IndexStorer generic storage of index.Index
type IndexStorer interface {
	SetIndex(*index.Index) error
	Index() (*index.Index, error)
}