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

Function AlgorithmPrefix

pkg/compression/internal/types.go:78–80  ·  view source on GitHub ↗

AlgorithmPrefix returns the prefix field of algo. This is a function instead of a public method so that it is only callable by code that is allowed to import this internal subpackage.

(algo Algorithm)

Source from the content-addressed store, hash-verified

76// This is a function instead of a public method so that it is only callable by code
77// that is allowed to import this internal subpackage.
78func AlgorithmPrefix(algo Algorithm) []byte {
79 return algo.prefix
80}

Callers 1

DetectCompressionFormatFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…