mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
Sort ops.
This commit is contained in:
parent
1cfa41920e
commit
8f9d407e22
1 changed files with 18 additions and 18 deletions
36
src/ops.rs
36
src/ops.rs
|
@ -74,36 +74,36 @@ pub fn dispatch(
|
|||
} else {
|
||||
// Handle regular ops.
|
||||
let op_creator: OpCreator = match inner_type {
|
||||
msg::Any::Start => op_start,
|
||||
msg::Any::CodeFetch => op_code_fetch,
|
||||
msg::Any::Accept => op_accept,
|
||||
msg::Any::Chdir => op_chdir,
|
||||
msg::Any::Close => op_close,
|
||||
msg::Any::CodeCache => op_code_cache,
|
||||
msg::Any::CodeFetch => op_code_fetch,
|
||||
msg::Any::CopyFile => op_copy_file,
|
||||
msg::Any::Cwd => op_cwd,
|
||||
msg::Any::Dial => op_dial,
|
||||
msg::Any::Environ => op_env,
|
||||
msg::Any::Exit => op_exit,
|
||||
msg::Any::FetchReq => op_fetch_req,
|
||||
msg::Any::Listen => op_listen,
|
||||
msg::Any::MakeTempDir => op_make_temp_dir,
|
||||
msg::Any::Metrics => op_metrics,
|
||||
msg::Any::Mkdir => op_mkdir,
|
||||
msg::Any::Open => op_open,
|
||||
msg::Any::Read => op_read,
|
||||
msg::Any::Write => op_write,
|
||||
msg::Any::Close => op_close,
|
||||
msg::Any::Shutdown => op_shutdown,
|
||||
msg::Any::Remove => op_remove,
|
||||
msg::Any::ReadFile => op_read_file,
|
||||
msg::Any::ReadDir => op_read_dir,
|
||||
msg::Any::Rename => op_rename,
|
||||
msg::Any::ReadFile => op_read_file,
|
||||
msg::Any::Readlink => op_read_link,
|
||||
msg::Any::Symlink => op_symlink,
|
||||
msg::Any::Read => op_read,
|
||||
msg::Any::Remove => op_remove,
|
||||
msg::Any::Rename => op_rename,
|
||||
msg::Any::SetEnv => op_set_env,
|
||||
msg::Any::Shutdown => op_shutdown,
|
||||
msg::Any::Start => op_start,
|
||||
msg::Any::Stat => op_stat,
|
||||
msg::Any::Symlink => op_symlink,
|
||||
msg::Any::Truncate => op_truncate,
|
||||
msg::Any::WriteFile => op_write_file,
|
||||
msg::Any::Exit => op_exit,
|
||||
msg::Any::CopyFile => op_copy_file,
|
||||
msg::Any::Listen => op_listen,
|
||||
msg::Any::Accept => op_accept,
|
||||
msg::Any::Dial => op_dial,
|
||||
msg::Any::Chdir => op_chdir,
|
||||
msg::Any::Cwd => op_cwd,
|
||||
msg::Any::Metrics => op_metrics,
|
||||
msg::Any::Write => op_write,
|
||||
_ => panic!(format!(
|
||||
"Unhandled message {}",
|
||||
msg::enum_name_any(inner_type)
|
||||
|
|
Loading…
Reference in a new issue