def truncate
import bend-kit-journal@0.3.1.0/journal.bend as Journalimport Base
301# Cuts file to len octets, then fsyncs it.
302def truncate(file: File, len: U32) -> IO(File & Result<&1, &1, U32 & String, Unit>):
303 import "./effs/journal.c"
304 import "./effs/journal.js"