class ProtoHackers::File

Defined in:

10_voracious_code_storage.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, data : String) #

[View source]

Instance Method Detail

def add_revision(data : String) #

[View source]
def delete_latest_revision #

[View source]
def get_revision?(revision_id : String = "latest") : String | Nil #

[View source]
def latest_revision : String #

[View source]
def latest_revision=(latest_revision : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def revision_counter : Int32 #

[View source]
def revision_counter=(revision_counter : Int32) #

[View source]
def revisions : Hash(String, String) #

[View source]
def revisions=(revisions : Hash(String, String)) #

[View source]
def to_s(io) #

[View source]