domain/architecture/system/container/ops.bend relies on unsafe/foreign
raw source on the hub · import 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/ops.bend as Ops
7 imports
import Base import bend-net-json@0.3.0.0/json.bend as Json import ../../relationship/type.bend as Rel import ../../category/type.bend as K import ../../environment/external/type.bend as Ex import ./type.bend as Ct import ./component/type.bend as Co
Definitions
def key_of source · line 13 · raw
@c:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container -> String
def source_of source · line 18 · raw
@c:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container -> String
def keep_built source · line 23 · raw
@+c:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container -> @+rest:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container> -> List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container>
def built source · line 27 · raw
@cs:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container> -> List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container>
The containers built from this repository: those with a source folder.
def package_name source · line 36 · raw
@+name:String -> String
---- names ---- Declared names are readable names; dependencies are package names.
def language_extension source · line 46 · raw
@+name:String -> @+ext:String -> Bool
Whether a language is written in files with this extension.
def any_language source · line 54 · raw
@+ext:String -> @xs:List<&2, String> -> Bool
def known source · line 62 · raw
@+ext:String -> Bool
The extensions of every language V knows; files with other extensions are not source.
def absent source · line 67 · raw
@xs:List<&2, String> -> @+deps:List<&2, String> -> @+migrating:List<&2, String> -> List<&2, String>
---- what is missing ---- The declared names that are neither dependencies nor migrating.
def stack_missing source · line 76 · raw
@c:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container -> @+deps:List<&2, String> -> List<&2, String>
The frameworks and libraries a built container declares but does not depend on.
def unwritten source · line 83 · raw
@xs:List<&2, String> -> @+languages:List<&2, String> -> @+migrating:List<&2, String> -> List<&2, String>
The extensions in a built container's source that no declared or migrating language is written in, and that are not themselves migrating.
def languages_missing source · line 91 · raw
@c:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container -> @+extensions:List<&2, String> -> List<&2, String>
def destinations source · line 97 · raw
@rs:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/relationship/type.Relationship> -> List<&2, String>
---- the SDK of each model API a container calls ----
def component_destinations source · line 106 · raw
@cos:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/component/type.Component> -> List<&2, String>
def model_libraries source · line 115 · raw
@cat:0x61eb9b926b7147b74881eab60781316b/domain/architecture/category/type.Category -> @ls:List<&2, String> -> List<&2, String>
def sdk_of source · line 123 · raw
@+dest:String -> @xs:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/environment/external/type.External> -> List<&2, String>
The SDK of the model API with this key, among the externals.
def sdks source · line 132 · raw
@ds:List<&2, String> -> @+xs:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/environment/external/type.External> -> List<&2, String>
def sdk_missing source · line 141 · raw
@c:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/container/type.Container -> @+xs:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/environment/external/type.External> -> @+deps:List<&2, String> -> List<&2, String>
The SDK libraries of the model APIs a built container (or one of its components) calls that it does not depend on.
def filled source · line 148 · raw
@xs:List<&2, String> -> List<&2, String>
---- reading the repository's evidence ----
def nth source · line 156 · raw
@+xs:List<&2, String> -> @n:Nat -> String
def last source · line 159 · raw
@+xs:List<&2, String> -> String
def prefixes source · line 162 · raw
@segs:List<&2, String> -> @+acc:String -> List<&2, String>
def folders source · line 170 · raw
@+dir:String -> List<&2, String>
A folder and each folder above it, nearest first, ending with the repository root ("").
def json_or_null source · line 173 · raw
@m:Maybe<&2, 0x16458a2db4f36577294543ec2a6d420c/json.Val> -> 0x16458a2db4f36577294543ec2a6d420c/json.Val
def keys source · line 180 · raw
@v:Maybe<&2, 0x16458a2db4f36577294543ec2a6d420c/json.Val> -> List<&2, String>
def package_deps source · line 188 · raw
@+text:String -> List<&2, String>
A package.json's dependencies and devDependencies.
def module_name source · line 193 · raw
@+line:String -> String
The module a go.mod line requires, or "".
def go_deps source · line 200 · raw
@ls:List<&2, String> -> List<&2, String>
def source_ext source · line 210 · raw
@+path:String -> String
The source extension of a repository path, or "" when it is not source: generated files, and files under node_modules, _generated or .next.
def source_exts source · line 218 · raw
@paths:List<&2, String> -> List<&2, String>
def source_extensions source · line 227 · raw
@paths:List<&2, String> -> List<&2, String>
The distinct source extensions among repository paths.