module V1::Partial::CompressedLayer

Overview

CompressedLayer represents the bare minimum interface a natively compressed layer must implement for us to produce a v1.Layer

Direct including types

Defined in:

v1/partial/compressed.cr

Instance Method Summary

Instance Method Detail

abstract def compressed : IO #

returns an IO for the compressed layer


[View source]
abstract def digest : V1::Hash #

returns the Hash of the compressed layer.


[View source]
abstract def media_type : Types::MediaType #

returns the media type of compressed layer


[View source]
abstract def size : Int64 #

returns the compressed size of the layer


[View source]