Expand description
ratchet.lock — a committed snapshot of a program’s public surface.
Teams commit a lockfile to their repository so CI can diff a newly
built IDL against a known-good baseline without hitting an RPC. A
lockfile is just a serialized ProgramSurface wrapped in a small
envelope (format version, canonical JSON encoding) so it diffs well
in pull requests.
Structs§
- Lockfile
- On-disk representation of a ratchet lockfile.
Constants§
- CURRENT_
VERSION - Current lockfile schema version. Bump when the shape is incompatibly changed.
- DEFAULT_
FILENAME - Conventional filename written and read by the CLI.