def fresh

ezx@1.11.0.0 · src/tool/plan.bend:458

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/tool/world.bend as TW
import ezx@1.11.0.0/src/ez/key.bend as Key

458# whether the cached checkout's record names this commit. The record is
459# written after every file, so a checkout it names is whole, with or without
460# a ledger.
461def fresh(+world: TW.World) -> Bool:
462  Key.checkout(String.trim(TW.text.or(read.got(world, stamp.at(world)))), rev(world))

Uses (8)

Used by (1)