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