act/vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go
Casey Lee 320e9b6057
fail on error (#20)
ci-via-github-actions
2019-01-23 11:51:22 -08:00

10 lines
315 B
Go

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)
}