def link.at

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

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base

1284# the path a plan links, "" when it links none
1285def link.at(pl: Plan) -> String:
1286  Plan{_l, _m, f, _o} = pl
1287  match f:
1288    case Launch{_b, _as}:
1289      ""
1290    case Link{_b, d, n, _s}:
1291      d ++ "/" ++ n
1292    case Idle{}:
1293      ""

Uses (4)

Used by (0)

No other definition uses this definition.