1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00

Sort ops.

This commit is contained in:
Ryan Dahl 2018-10-17 20:41:21 -04:00
parent 1cfa41920e
commit 8f9d407e22

View file

@ -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)