aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/shallow.go
blob: a38e751fe83e2b19f9f891f63b5ca20878c10662 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package storer

import "srcd.works/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)
}