def scan

cswap-bend-cli@0.1.0.0 · daemon/sess.bend:365

import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sess
import Base
import cswap-bend-cli@0.1.0.0/fs.bend as Fs

365def scan(+dir: String, r: Fs.Res(List<&2, String>)) -> IO(Bool):
366  match r:
367    case Fail{e}:
368      IO.pure(Bool, False{})
369    case Done{ns}:
370      any_live(dir, json_names(ns))

Uses (9)

Used by (1)