struct Karma::Backup::SnapshotMetadata

Included Modules

Defined in:

backup/metadata.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_response(object : JSON::Any) : SnapshotMetadata #

[View source]
def self.new(tree : String, file : String, timestamp : Int64, last_lsn : UInt64, bytes : Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def bytes : Int64 #

[View source]
def file : String #

[View source]
def last_lsn : UInt64 #

[View source]
def timestamp : Int64 #

[View source]
def to_response #

[View source]
def tree : String #

[View source]