1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/ops
Bartek Iwańczuk b657d743a2
refactor: remove CliState, use OpState, add CliModuleLoader (#7588)
- remove "CliState.workers" and "CliState.next_worker_id", instead
store them on "OpState" using type aliases.
- remove "CliState.global_timer" and "CliState.start_time", instead
store them on "OpState" using type aliases.
- remove "CliState.is_internal", instead pass it to Worker::new
- move "CliState::permissions" to "OpState"
- move "CliState::main_module" to "OpState"
- move "CliState::global_state" to "OpState"
- move "CliState::check_unstable()" to "GlobalState"
- change "cli_state()" to "global_state()"
- change "deno_core::ModuleLoader" trait to pass "OpState" to callbacks
- rename "CliState" to "CliModuleLoader"
2020-09-20 01:17:35 +02:00
..
compiler.rs Use gotham-like state for ops (#7385) 2020-09-10 09:57:45 -04:00
dispatch_minimal.rs refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) 2020-09-15 01:50:52 +02:00
errors.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
fetch.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
fs.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
fs_events.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
io.rs Remove unnecessary extern statements 2020-09-16 13:29:42 -04:00
mod.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
net.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
net_unix.rs Remove unnecessary serde_derive dependency 2020-09-16 13:29:42 -04:00
os.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
permissions.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
plugin.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
process.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
random.rs refactor: move fields from CliState to OpState (#7558) 2020-09-18 20:39:47 +02:00
repl.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
runtime.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
runtime_compiler.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
signal.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
timers.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
tls.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
tty.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
web_worker.rs Use gotham-like state for ops (#7385) 2020-09-10 09:57:45 -04:00
websocket.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
worker_host.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00