Fs.exists: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fs.bend as Fs Lines 92-96 of cswap-bend-cli@0.1.0.0/fs.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&start_line=92&end_line=96 import Base # Does the path exist (a file, directory or the target of a symlink)? def exists(path: String) -> IO(Bool): IO.bind(Result<&1, &1, U32 & String, U32 & (String & String)>, Bool, Process.run("/bin/test", ["-e", path], "", proc.max(), proc.timeout()), r => IO.pure(Bool, exists.of(r))) Uses (13): 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.bind 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Process.run 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=exists.of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=proc.max https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=proc.timeout