class V1::Stream::Layer

Overview

Layer is a streaming implementation of V1::Layer.

Included Modules

Defined in:

v1/stream/layer.cr

Constructors

Instance Method Summary

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

Instance methods inherited from module V1::Partial::CompressedLayer

compressed : IO compressed, digest : V1::Hash digest, media_type : Types::MediaType media_type, size : Int64 size

Constructor Detail

def self.new(blob) #

[View source]

Instance Method Detail

def blob : IO #

[View source]
def compressed #

[View source]
def consumed : Bool #

[View source]
def consumed=(consumed : Bool) #

[View source]
def diff_id #

[View source]
def diff_id=(diff_id : V1::Hash?) #

[View source]
def digest #

[View source]
def digest=(digest : V1::Hash?) #

[View source]
def media_type #

[View source]
def mu : Mutex #

[View source]
def size #

[View source]
def size=(size : Int64) #

[View source]
def uncompressed #

[View source]