def open.words

bend-kit-journal@0.3.1.0 · journal.bend:290

import bend-kit-journal@0.3.1.0/journal.bend as Journal
import Base

290# Opens path for reading and appending, creating it, and fsyncs its directory. Answers the file and
291# its whole contents. Fails with EFBIG when the file holds more than limit octets.
292def open.words(path: String, limit: U32) -> IO(Result<&1, &1, U32 & String, File & U32 & Array<U32>>):
293  import "./effs/journal.c"
294  import "./effs/journal.js"

Uses (7)

Used by (1)