Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ is_active
Function
is_active
atomic-cli/src/output/live.rs:47–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
}
46
47
pub(crate) fn is_active() -> bool {
48
ACTIVE.lock().unwrap_or_else(|e| e.into_inner()).is_some()
49
}
50
51
pub(crate) fn latest() -> String {
52
ACTIVE
Callers
1
start
Method · 0.85
Calls
2
lock
Method · 0.80
into_inner
Method · 0.45
Tested by
no test coverage detected