pub fn add_signal_listener(
signal: Signal,
handler: fn() -> a,
) -> Nil
pub fn args() -> List(String)
pub fn chdir(directory: String) -> Result(Nil, Error)
pub fn chmod_sync(path: String, mode: Int) -> Nil
pub fn chown_sync(
path: String,
uid: Option(Int),
gid: Option(Int),
) -> Nil
pub fn copy_file_sync(from_path: String, to_path: String) -> Nil
pub fn create_sync(path: String) -> Result(FsFile, Error)
pub fn exec_path() -> String
pub fn exit_code() -> Int
pub fn exit_with(code: Int) -> Nil
pub fn gid() -> Option(Int)
pub fn hostname() -> String
pub fn kill(pid: Int) -> Nil
pub fn kill_with(pid: Int, signal: Signal) -> Nil
pub fn link_sync(
oldpath: String,
newpath: String,
) -> Result(Nil, Error)
pub fn loadavg() -> #(Float, Float, Float)
pub fn lstat_sync(path: String) -> FileInfo
pub fn main_module() -> String
pub fn make_temp_dir_sync(
options: List(MakeTempOption),
) -> String
pub fn make_temp_file_sync(
options: List(MakeTempOption),
) -> String
pub fn memory_usage() -> MemoryUsage
pub fn mkdir_sync(
path: String,
options: List(MkdirOption),
) -> Nil
pub fn no_color() -> Bool
pub fn open_sync(
path: String,
options: List(OpenOption),
) -> Result(FsFile, Error)
pub fn os_release() -> String
pub fn os_uptime() -> Int
pub fn read_dir_sync(path: String) -> List(DirEntry)
pub fn read_file_sync(path: String) -> Uint8Array
pub fn read_link_sync(path: String) -> String
pub fn read_text_file_sync(path: String) -> String
pub fn real_path_sync(path: String) -> String
pub fn ref_timer(id: Int) -> Nil
pub fn remove_signal_listener(
signal: Signal,
handler: fn() -> a,
) -> Nil
pub fn remove_sync(
path: String,
options: List(RemoveOption),
) -> Nil
pub fn rename_sync(oldpath: String, newpath: String) -> Nil
pub fn set_exit_code(code: Int) -> Nil
pub fn set_umask(mask: Int) -> Int
pub fn stat_sync(path: String) -> FileInfo
pub fn symlink_sync(
oldpath: String,
newpath: String,
options: List(SymlinkOption),
) -> Nil
pub fn system_memory_info() -> SystemMemoryInfo
pub fn truncate_sync(name: String, len: Option(Int)) -> Nil
pub fn uid() -> Option(Int)
pub fn unref_timer(id: Int) -> Nil
pub fn utime_sync(path: String, atime: Int, mtime: Int) -> Nil
pub fn version() -> Version
pub fn watch_fs(
paths: List(String),
options: List(WatchFsOption),
) -> FsWatcher
pub fn write_file_sync(
path: String,
data: Uint8Array,
options: List(WriteFileOption),
) -> Nil
pub fn write_text_file_sync(
path: String,
data: String,
options: List(WriteFileOption),
) -> Nil