MCPcopy
hub / github.com/kopia/kopia / registerUnsupportedCompressor

Function registerUnsupportedCompressor

repo/compression/compressor.go:60–65  ·  view source on GitHub ↗
(name Name, c Compressor)

Source from the content-addressed store, hash-verified

58}
59
60func registerUnsupportedCompressor(name Name, c Compressor) {
61 RegisterCompressor(name, c)
62
63 IsDeprecated[name] = true
64 isUnsupported[c.HeaderID()] = true
65}
66
67func compressionHeader(id HeaderID) []byte {
68 b := make([]byte, compressionHeaderSize)

Callers 1

initFunction · 0.85

Calls 2

RegisterCompressorFunction · 0.85
HeaderIDMethod · 0.65

Tested by

no test coverage detected