MCPcopy 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
47pub(crate) fn is_active() -> bool {
48 ACTIVE.lock().unwrap_or_else(|e| e.into_inner()).is_some()
49}
50
51pub(crate) fn latest() -> String {
52 ACTIVE

Callers 1

startMethod · 0.85

Calls 2

lockMethod · 0.80
into_innerMethod · 0.45

Tested by

no test coverage detected