def lock.sect

ezx@1.11.0.0 · src/lock/lock.bend:507

import ezx@1.11.0.0/src/lock/lock.bend as Lock
import Base
import ezx@1.11.0.0/src/toml/toml.bend as T

507# the `[lock]` table: what resolved the lock. The bend that ran the lock is
508# not recorded: it is not something a clone has, and the flake pins the bend
509# a build uses. A lock written before this that records one still reads,
510# since nothing reads the key.
511def lock.sect(hub: String) -> T.Sect:
512  T.Sect{"lock", [T.Kv{"version", "2"}, T.Kv{"hub", hub}]}

Uses (4)

Used by (2)