class V1::Tarball::Layer
- V1::Tarball::Layer
- Reference
- Object
Included Modules
Defined in:
v1/tarball/layer.crConstructors
Class Method Summary
- .compute_diff_id(opener : Opener, compressed : Bool)
- .compute_digest(opener : Opener, compressed : Bool)
-
.from_file(path : String)
from_file returns a V1::Layer given a tarball
-
.from_opener(opener : Opener)
from_opener returns a V1::Layer given an opener function
-
.from_reader(io : IO)
from_reader returns a V1::Layer given an IO
Instance Method Summary
- #compressed
- #diff_id : V1::Hash
- #digest : V1::Hash
- #media_type
- #opener : Opener
- #size : Int64
- #uncompressed
Instance methods inherited from module V1::Layer
compressed : IO
compressed,
diff_id : V1::Hash
diff_id,
digest : V1::Hash
digest,
media_type : Types::MediaType
media_type,
size : Int64
size,
uncompressed : IO
uncompressed
Constructor Detail
Class Method Detail
from_opener returns a V1::Layer given an opener function