module Croupier

Defined in:

croupier.cr
croupier/graph.cr
croupier/hash_state.cr
croupier/kv_store.cr
croupier/runner.cr
croupier/watcher.cr
task.cr

Constant Summary

Log = ::Log.for("croupier")

Log with "croupier" as the source

TaskManager = TaskManagerType.new

The global task manager (singleton)

VERSION = {{ (`shards version /home/runner/work/croupier/croupier/src`).chomp.stringify }}

Class Method Summary

Class Method Detail

def self.hash_file(path : String) : String #

SHA1 of a file's contents, streamed so large files are never buffered whole. Shared by Task#run (no_save output verification) and the manager's input scanner; an unreadable file still raises from File.open, same as File.read did.


[View source]