def entry.of

ezx@1.11.0.0 · src/pub/plan.bend:291

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/path.bend as Path

291# the entry, as the walk takes it, "" when the ledger names none
292def entry.of(ledger: Led) -> String:
293  match ledger:
294    case Led{e, _nv}:
295      Path.norm(e)
296    case LedNo{_why}:
297      ""

Uses (3)

Used by (1)