Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
da_cache
v0.1.0
DA_Cache
Built with Crystal 1.9.2
2023-10-07 10:59:49 UTC
module
DA_Cache
Extended Modules
DA_Cache
Defined in:
da_cache.cr
Constant Summary
DIR
=
"/tmp/da_cache"
Instance Method Summary
#exists?
(k)
#file_name
(k)
#read
(k)
#read_or_write
(k, default_value)
#write
(k : String, v : String)
Instance Method Detail
def
exists?
(k)
#
[
View source
]
def
file_name
(k)
#
[
View source
]
def
read
(k)
#
[
View source
]
def
read_or_write
(k, default_value)
#
[
View source
]
def
write
(k : String, v : String)
#
[
View source
]