/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
runtime/ops/mod.rs
25 строк
564 B
Leo Kettmeir
feat: `deno desktop` subcommand (#33441)
16 июн 2026, 13:41
Не верифицирован
16 июн 2026, 13:41
8398162
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. pub mod bootstrap; pub mod desktop; pub mod fs_events; pub mod http; pub mod permissions; pub mod runtime; pub mod tty; pub mod web_worker; pub mod worker_host; use std::sync::Arc; use deno_core::OpState; use deno_features::FeatureChecker; /// Helper for checking unstable features. Used for sync ops. pub fn check_unstable(state: &OpState, feature: &str, api_name: &str) { state .borrow::<Arc<FeatureChecker>>() .check_or_exit(feature, api_name); } pub struct TestingFeaturesEnabled(pub bool);