MCPcopy Create free account
hub / github.com/coder/envbuilder / uncompressedLayer

Struct uncompressedLayer

testutil/registrytest/registrytest.go:120–124  ·  view source on GitHub ↗

uncompressedLayer implements partial.UncompressedLayer from raw bytes.

Source from the content-addressed store, hash-verified

118
119// uncompressedLayer implements partial.UncompressedLayer from raw bytes.
120type uncompressedLayer struct {
121 diffID v1.Hash
122 mediaType types.MediaType
123 content []byte
124}
125
126// DiffID implements partial.UncompressedLayer
127func (ul *uncompressedLayer) DiffID() (v1.Hash, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected