Documentation ¶
Index ¶
Constants ¶
View Source
const ( NullTreeSHA = "4b825dc642cb6eb9a060e54bf8d69288fbee4904" // SHA1("tree 0\0") ZeroSHA = "0000000000000000000000000000000000000000" NullTreeSHA256 = "6ef19b41225c5369f1c104d45d8d85efa9b057b53b14b4b9b939dd74decc5321" // SHA256("tree 0\0") ZeroSHA256 = "0000000000000000000000000000000000000000000000000000000000000000" FormatSha256 = "OBJECT_FORMAT_SHA256" ClientName = "gitlab-zoekt-indexer" SubmoduleFileMode = 0160000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitalyClient ¶
type GitalyClient struct { FromHash string ToHash string // contains filtered or unexported fields }
func NewGitalyClient ¶
func NewGitalyClient(config *StorageConfig, correlationID string, projectID uint32, limitFileSize int64) (*GitalyClient, error)
func (*GitalyClient) Close ¶
func (gc *GitalyClient) Close()
func (*GitalyClient) EachFileChange ¶
func (gc *GitalyClient) EachFileChange(put PutFunc, del DelFunc) error
func (*GitalyClient) GetCurrentSHA ¶
func (gc *GitalyClient) GetCurrentSHA() (string, error)
func (*GitalyClient) IsValidSHA ¶
func (gc *GitalyClient) IsValidSHA(SHA string) bool
type HashFinder ¶ added in v0.8.2
type HashFinder interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.