def called.of

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

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

1192# what the import line names the package by: its `<name>@<version>` when it
1193# was published under one, its hash otherwise
1194def called.of(got: Named, +hash: String) -> String:
1195  match got:
1196    case ByName{nv}:
1197      nv
1198    case ByHash{}:
1199      hash
1200    case Unnamed{_why}:
1201      hash

Uses (2)

Used by (1)