blob: 39aaaa540d8af6cf31c68b9757dda99ba5c9485a [file] [log] [blame]
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)
}