MCPcopy Create free account
hub / github.com/go-git/go-git / HashesWithPrefix

Method HashesWithPrefix

repository.go:1863–1863  ·  view source on GitHub ↗
(prefix []byte)

Source from the content-addressed store, hash-verified

1861 // The fast version is implemented by storage/filesystem.ObjectStorage.
1862 type fastIter interface {
1863 HashesWithPrefix(prefix []byte) ([]plumbing.Hash, error)
1864 }
1865 if fi, ok := st.(fastIter); ok {
1866 h, err := fi.HashesWithPrefix(prefix)

Callers 1

expandPartialHashFunction · 0.65

Implementers 1

ObjectStoragestorage/filesystem/object.go

Calls

no outgoing calls

Tested by

no test coverage detected