mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-24 11:31:36 +01:00
11 lines
315 B
Go
11 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)
|
||
|
}
|