Fs.Truncate
eff TruncateSourceAn effect used to truncate a file.
Use the Truncate.runWithFileWrite handler.
Operations
def truncate(f: String): Result[IoError, Unit] \ Truncate
SourceTruncates the given file f.
Definitions
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - Truncate) + FileWrite
SourceHandles the Truncate effect of the given function f using the FileWrite effect.