Ops.nodes_owned: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops Lines 615-622 of near-v-framework@0.4.0.0/domain/architecture/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&start_line=615&end_line=622 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend as D import near-v-framework@0.4.0.0/domain/architecture/environment/inventory/type.bend as I def nodes_owned(ns: List<&2, D.Node>, +inv: I.Inventory) -> Bool: match ns: case []: True{} case n <> rest: match n: case D.Node{_, +name, _, _, h, _, kids, _}: host_ok(h, name, inv) && nodes_owned(kids, inv) && nodes_owned(rest, inv) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/environment/inventory/type.bend&name=Inventory https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&name=host_ok https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend&name=Node