1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:24:31 +00:00
gitea/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go

11 lines
315 B
Go
Raw Normal View History

package storer
import "gopkg.in/src-d/go-git.v4/plumbing"
// ShallowStorer is a storage of references to shallow commits by hash,
// meaning that these commits have missing parents because of a shallow fetch.
type ShallowStorer interface {
SetShallow([]plumbing.Hash) error
Shallow() ([]plumbing.Hash, error)
}