struct Zap::Store

Defined in:

store.cr

Constant Summary

LOCKS_STORE_PREFIX = "locks"
PACKAGES_STORE_PREFIX = "packages"

Constructors

Instance Method Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(store_path : String) #

[View source]

Instance Method Detail

def file_path(filename : String) #

[View source]
def package_is_cached?(package : Package) #

[View source]
def package_metadata_path(package : Package) #

[View source]
def package_path(package : Package) #

[View source]
def remove_package(package : Package) #

[View source]
def store_file(filename : String, contents : IO | String) #

[View source]
def store_temp_tarball(tarball_url : String) : Path #

[View source]
def unpack_and_store_tarball(package : Package, io : IO) #

[View source]
def with_lock(package : Package, config : Config, &) #

[View source]
def with_lock(lock_name : String | Path, config : Config, &) #

[View source]