def target.at

ezx@1.11.0.0 · src/ws/joint.bend:463

import ezx@1.11.0.0/src/ws/joint.bend as Joint
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/pkg/pkg.bend as K

463# the member a section names, once it is known whether it is the member
464# that names it
465def target.at(
466  own: Bool,
467  +name: String,
468  mm: M.Manifest,
469  +dir: List<&2, String>,
470  +files: List<&2, K.Source>,
471  +self: List<&2, String>
472) -> Res:
473  match own:
474    case True{}:
475      Bad{"ez: " ++ ledger.at(self) ++ " names " ++ name ++ " as a workspace member, and that member is itself"}
476    case False{}:
477      member.dep(mm, dir, name, files)

Uses (9)

Used by (1)