MCPcopy Create free account
hub / github.com/GCWing/BitFun / is_embedded_webdriver_mode

Function is_embedded_webdriver_mode

src/apps/desktop/src/logging.rs:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39fn is_embedded_webdriver_mode() -> bool {
40 (cfg!(debug_assertions) || cfg!(feature = "devtools"))
41 && std::env::var_os("BITFUN_WEBDRIVER_PORT").is_some()
42}
43
44fn resolve_logs_root() -> PathBuf {
45 if let Some(path) = std::env::var_os("BITFUN_LOG_DIR").map(PathBuf::from) {

Callers 2

resolve_logs_rootFunction · 0.85
build_log_targetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected