flix

0.69.3

Fs.FileExists

eff FileExistsSource

An effect used to check if a file exists.

Use the FileExists.runWithFileTest handler.

Operations

def exists(f: String): Result[IoError, Bool] \ FileExists Source

Returns true if the given file f exists.

Definitions

def runWithFileTest(f: Unit -> a \ ef): a \ (ef - FileExists) + FileTest Source

Handles the FileExists effect of the given function f using the FileTest effect.