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(Int, Nil)
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) -> FileInfo
pub fn sync_data_sync(file: FsFile) -> FsFile
pub fn sync_sync(file: FsFile) -> FsFile
pub fn truncate_sync(file: FsFile, len: Option(Int)) -> FsFile
pub fn unlock_sync(file: FsFile) -> FsFile
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) -> Int