Builtin Library
README.md
world_vcs.derive.worker
The entries world_vcs.derive.runner dispatches to job-system workers. Each runs in a worker VM, requires the module a hook names, and calls the hook's entry over data handed across as copies.
fingerprint({ hook, snapshot })answers the string the hook'sfingerprintentry computes for the snapshot.compute({ hook, snapshot })answers{ bytes?, error? }from the hook'scomputeentry. The snapshot'sread(rel)answers the staged bytes the runner fetched for the file.
local p = jobs.dispatch("modules.world_vcs.derive.worker", "fingerprint", { hook = hookData, snapshot = snapData })
local fingerprint = p:await()