struct DA::Cache

Defined in:

da/Cache.cr

Constant Summary

DIR = "/tmp/da_cache"

Constructors

Instance Method Summary

Constructor Detail

def self.new(prefix : String) #

[View source]

Instance Method Detail

def delete(k : String) #

[View source]
def exists?(k) #

[View source]
def file_name(k) #

[View source]
def prefix : String #

[View source]
def read(k) #

[View source]
def read_or_write(k, default_value) : String #

[View source]
def write(k : String, v : String) #

[View source]