ExecutionLifetimeScopeCoverage.scopes_leaf: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend as ExecutionLifetimeScopeCoverage Lines 41-45 of bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend&start_line=41&end_line=45 import Base import bendvy-ecs-core@0.1.0.3/execution_command_permission.bend as Permission import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout import bendvy-ecs-core@0.1.0.3/execution_resource_policy.bend as Policy def scopes_leaf(-S:Data,-resources:Layout.Layout,policy:Policy.Policy,route:Layout.Route,relations:Permission.Relations) -> Bool: match policy: case Policy.ProtectedLifetimeScope{_}:scope_contains(S,resources,route,relations) case Policy.ProtectedRelation{_,_}:True{} case Policy.Ordinary{}:True{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_permission.bend&name=Relations https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Layout https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Route https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend&name=scope_contains https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_resource_policy.bend&name=Policy