mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-24 11:31:36 +01:00
10 lines
211 B
Go
10 lines
211 B
Go
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)
|
|
}
|