plumbing/storer/shallow.go
raw| 1 | package storer |
| 2 | |
| 3 | import "github.com/go-git/go-git/v5/plumbing" |
| 4 | |
| 5 | // ShallowStorer is a storage of references to shallow commits by hash, |
| 6 | // meaning that these commits have missing parents because of a shallow fetch. |
| 7 | type ShallowStorer interface { |
| 8 | SetShallow([]plumbing.Hash) error |
| 9 | Shallow() ([]plumbing.Hash, error) |
| 10 | } |