pub fn close(file: FsFile) -> Nil
pub fn is_terminal(file: FsFile) -> Bool
pub fn lock_sync(file: FsFile, exclusive: Bool) -> FsFile
pub fn read_sync(
file: FsFile,
p: Uint8Array,
) -> Result(BytesRead, Error)
pub fn readable(file: FsFile) -> ReadableStream(Uint8Array)
pub fn seek_sync(
file: FsFile,
offset: Int,
whence: SeekMode,
) -> Int
pub fn set_raw(
file: FsFile,
mode: Bool,
options: List(SetRawOption),
) -> FsFile
pub fn stat_sync(file: FsFile) -> Result(FileInfo, Error)
pub fn sync_data_sync(file: FsFile) -> FsFile
pub fn sync_sync(file: FsFile) -> FsFile
pub fn truncate_sync(file: FsFile) -> FsFile
pub fn truncate_to_length_sync(file: FsFile, len: Int) -> FsFile
pub fn unlock_sync(file: FsFile) -> FsFile
pub fn using(
file_result: Result(FsFile, Error),
fun: fn(FsFile) -> Result(a, Error),
) -> Result(a, Error)
pub fn utime_sync(file: FsFile, atime: Int, mtime: Int) -> FsFile
pub fn writable(file: FsFile) -> WritableStream(Uint8Array)
pub fn write_sync(
file: FsFile,
p: Uint8Array,
) -> Result(Int, Error)