Ops.needs_login: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend as Ops Lines 38-44 of near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend&start_line=38&end_line=44 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/type.bend as Sv # Whether any service needs a user session to start. def needs_login(xs: List<&2, Sv.Service>) -> Bool: match xs: case []: False{} case s <> rest: at_login(start(s)) || needs_login(rest) 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.or 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/system/deployment/nix_darwin/service/ops.bend&name=at_login https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend&name=start https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/type.bend&name=Service