module

CrystalScript::Cache

Class methods

cache_dir

Configuration for testing - allows overriding default paths

cache_dir=(cache_dir : Path)

Configuration for testing - allows overriding default paths

db_path
db_path=(db_path : Path)

Instance methods

exec(script_path : Path, args : Array(String), mode : CrystalScript::CompilationMode)
hash(script_path : Path) : String

Calculate content hash for cache lookup Public for testing purposes