def root.or

ezx@1.11.0.0 · src/ledger/manifest.bend:100

import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest
import Base

100# a git section that names no root was written from the top of its checkout,
101# which is the root a lock already spells out as "." and the only one a ledger
102# written before this key existed can have meant
103def root.or(+dir: String) -> String:
104  Bool.pick(String, String.is_empty(dir), ".", dir)

Uses (3)

Used by (2)