aboutsummaryrefslogblamecommitdiffstats
path: root/plumbing/storer/shallow.go
blob: 39ef5ea5c67fcd8c90b06a33a398348345dc28d2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

              
                                             
 

                                                                              



                                          
package storer

import "github.com/go-git/go-git/v5/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)
}