Sess.scan: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sess Lines 365-370 of cswap-bend-cli@0.1.0.0/daemon/sess.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/sess.bend&start_line=365&end_line=370 import Base import cswap-bend-cli@0.1.0.0/fs.bend as Fs def scan(+dir: String, r: Fs.Res(List<&2, String>)) -> IO(Bool): match r: case Fail{e}: IO.pure(Bool, False{}) case Done{ns}: any_live(dir, json_names(ns)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/sess.bend&name=any_live https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/sess.bend&name=json_names https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=Res