Ops.sdk_of: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/container/ops.bend as Ops Lines 122-130 of near-v-framework@0.4.0.0/domain/architecture/system/container/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/container/ops.bend&start_line=122&end_line=130 import Base import near-v-framework@0.4.0.0/domain/architecture/environment/external/type.bend as Ex # The SDK of the model API with this key, among the externals. def sdk_of(+dest: String, xs: List<&2, Ex.External>) -> List<&2, String>: match xs: case []: [] case x <> rest: match x: case Ex.External{k, _, _, cat, _, _, ls, _}: List.append(&2, String, Bool.pick(List<&2, String>, String.eq(k, dest), model_libraries(cat, ls), []), sdk_of(dest, rest)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/environment/external/type.bend&name=External https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/container/ops.bend&name=model_libraries