/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.7.13
runtime/ops/mod.rs
24 строки
547 B
Kenta Moriuchi
chore: Happy New Year 2026 (#31748)
08 янв 2026, 18:28
Не верифицирован
08 янв 2026, 18:28
8193cf9
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. pub mod bootstrap; 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);