Manifest.root.or: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest Lines 100-104 of ezx@1.11.0.0/src/ledger/manifest.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&start_line=100&end_line=104 import Base # a git section that names no root was written from the top of its checkout, # which is the root a lock already spells out as "." and the only one a ledger # written before this key existed can have meant def root.or(+dir: String) -> String: Bool.pick(String, String.is_empty(dir), ".", dir) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty