MCPcopy Create free account
hub / github.com/containers/image / UncompressedDigest

Method UncompressedDigest

types/types.go:218–218  ·  view source on GitHub ↗

UncompressedDigest returns an uncompressed digest corresponding to anyDigest. May return anyDigest if it is known to be uncompressed. Returns "" if nothing is known about the digest (it may be compressed or uncompressed).

(anyDigest digest.Digest)

Source from the content-addressed store, hash-verified

216 // May return anyDigest if it is known to be uncompressed.
217 // Returns "" if nothing is known about the digest (it may be compressed or uncompressed).
218 UncompressedDigest(anyDigest digest.Digest) digest.Digest
219 // RecordDigestUncompressedPair records that the uncompressed version of anyDigest is uncompressed.
220 // It’s allowed for anyDigest == uncompressed.
221 // WARNING: Only call this for LOCALLY VERIFIED data; don’t record a digest pair just because some remote author claims so (e.g.

Callers 4

copyLayerMethod · 0.65

Implementers 4

cachepkg/blobinfocache/memory/memory.go
cachepkg/blobinfocache/boltdb/boltdb.go
cachepkg/blobinfocache/sqlite/sqlite.go
noCachepkg/blobinfocache/none/none.go

Calls

no outgoing calls

Tested by

no test coverage detected