You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
315 B
10 lines
315 B
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)
|
|
}
|
|
|