def root.or
import ezx@1.11.0.0/src/ledger/manifest.bend as Manifestimport 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)