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

Function AlgorithmDecompressor

pkg/compression/internal/types.go:71–73  ·  view source on GitHub ↗

AlgorithmDecompressor returns the decompressor 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

69// This is a function instead of a public method so that it is only callable by code
70// that is allowed to import this internal subpackage.
71func AlgorithmDecompressor(algo Algorithm) DecompressorFunc {
72 return algo.decompressor
73}
74
75// AlgorithmPrefix returns the prefix field of algo.
76// This is a function instead of a public method so that it is only callable by code

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…