module Croupier

Defined in:

croupier.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 /srv/crystaldoc.info/github-ralsina-croupier-v0.14.1/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]