mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-28 15:17:26 +02:00
* Inital routes to git refs api * Git refs API implementation * Update swagger * Fix copyright * Make swagger happy add basic test * Fix test * Fix test again :)
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)
|
|
}
|