def exposure_of
near-v-framework@0.4.0.0 · domain/architecture/ops.bend:391
import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/container/type.bend as Ct
391def exposure_of(+k: String, cs: List<&2, Ct.Container>) -> Ct.Exposure:
392 match cs:
393 case []:
394 Ct.Public{}
395 case c <> rest:
396 match c:
397 case Ct.Container{ck, _, _, _, _, e, _, _, _, _, _, _, _, _, _}:
398 Bool.pick(Ct.Exposure, String.eq(k, ck), e, exposure_of(k, rest))