amber/deno
Values
pub fn add_signal_listener(
signal: signal.Signal,
handler: fn() -> any,
) -> Nil
pub fn build() -> build.Build
pub fn chdir(directory: String) -> Result(Nil, error.Error)
pub fn chmod_sync(path: String, mode: Int) -> Nil
pub fn chown_sync(
path: String,
uid: option.Option(Int),
gid: option.Option(Int),
) -> Nil
pub fn copy_file_sync(from_path: String, to_path: String) -> Nil
pub fn create_sync(
path: String,
) -> Result(fs_file.FsFile, error.Error)
pub fn gid() -> option.Option(Int)
pub fn kill_with(pid: Int, signal: signal.Signal) -> Nil
pub fn link_sync(
oldpath: String,
newpath: String,
) -> Result(Nil, error.Error)
pub fn lstat_sync(path: String) -> file_info.FileInfo
pub fn main_module() -> String
pub fn make_temp_dir_sync(
options: List(make_temp.MakeTempOption),
) -> String
pub fn make_temp_file_sync(
options: List(make_temp.MakeTempOption),
) -> String
pub fn memory_usage() -> memory_usage.MemoryUsage
pub fn mkdir_sync(
path: String,
options: List(mkdir.MkdirOption),
) -> Nil
pub fn open_sync(
path: String,
options: List(open.OpenOption),
) -> Result(fs_file.FsFile, error.Error)
pub fn os_release() -> String
pub fn read_dir_sync(path: String) -> List(dir_entry.DirEntry)
pub fn read_file_sync(path: String) -> uint8_array.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 remove_signal_listener(
signal: signal.Signal,
handler: fn() -> any,
) -> Nil
pub fn remove_sync(
path: String,
options: List(remove.RemoveOption),
) -> Nil
pub fn rename_sync(oldpath: String, newpath: String) -> Nil
pub fn set_exit_code(code: Int) -> Nil
pub fn stat_sync(path: String) -> file_info.FileInfo
pub fn symlink_sync(
oldpath: String,
newpath: String,
options: List(symlink.SymlinkOption),
) -> Nil
pub fn system_memory_info() -> system_memory_info.SystemMemoryInfo
pub fn truncate_sync(
name: String,
len: option.Option(Int),
) -> Nil
pub fn uid() -> option.Option(Int)
pub fn unref_timer(id: Int) -> Nil
pub fn utime_sync(path: String, atime: Int, mtime: Int) -> Nil
pub fn version() -> version.Version
pub fn watch_fs(
paths: List(String),
options: List(watch_fs.WatchFsOption),
) -> fs_watcher.FsWatcher
pub fn write_file_sync(
path: String,
data: uint8_array.Uint8Array,
options: List(write_file.WriteFileOption),
) -> Nil
pub fn write_text_file_sync(
path: String,
data: String,
options: List(write_file.WriteFileOption),
) -> Nil