def regular

near-v-framework@0.4.0.0 · domain/architecture/system/deployment/nix_darwin/setting/effects.bend:210

import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/setting/effects.bend as Effects
import Base
import bend-kit-files@0.1.0.0/files.bend as Fs

210# ---- launchd files, read only: each is named by its content hash, but not copied into the system's
211# nix/launch/ (the old import did), so a declaration that uses one must copy it there itself ----
212def regular(k: Fs.FileType) -> Bool:
213  match k:
214    case Fs.Regular{}:
215      True{}
216    case _:
217      False{}

Uses (2)

Used by (1)