eff FileSize
An effect used to read the size of a file.
Use the FileSize.runWithFileStat handler.
FileSize.runWithFileStat
def size(f: String): Result[IoError, Size] \ FileSize
Returns the size of the given file f.
f
def runWithFileStat(f: Unit -> a \ ef): a \ (ef - FileSize) + FileStat
Handles the FileSize effect of the given function f using the FileStat effect.
FileSize
FileStat