MCPcopy
hub / github.com/perkeep/perkeep / blobFileBaseName

Function blobFileBaseName

pkg/blobserver/files/files.go:197–199  ·  view source on GitHub ↗
(b blob.Ref)

Source from the content-addressed store, hash-verified

195}
196
197func blobFileBaseName(b blob.Ref) string {
198 return fmt.Sprintf("%s-%s.dat", b.HashName(), b.Digest())
199}
200
201func (ds *Storage) blobDirectory(b blob.Ref) string {
202 d := b.Digest()

Callers 2

blobPathMethod · 0.85
ReceiveBlobMethod · 0.85

Calls 2

HashNameMethod · 0.80
DigestMethod · 0.80

Tested by

no test coverage detected