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

Method Uncompressed

testutil/registrytest/registrytest.go:132–134  ·  view source on GitHub ↗

Uncompressed implements partial.UncompressedLayer

()

Source from the content-addressed store, hash-verified

130
131// Uncompressed implements partial.UncompressedLayer
132func (ul *uncompressedLayer) Uncompressed() (io.ReadCloser, error) {
133 return io.NopCloser(bytes.NewBuffer(ul.content)), nil
134}
135
136// MediaType returns the media type of the layer
137func (ul *uncompressedLayer) MediaType() (types.MediaType, error) {

Callers 1

extractFromImageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected