MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / pending_health

Function pending_health

atomic-cli/src/commands/agent/hook_log.rs:92–95  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

90}
91
92pub fn pending_health(root: &Path) -> Option<HookHealth> {
93 let events = atomic_agent::hook_log::pending(root).ok()?;
94 HookHealth::from_events(events.into_iter().map(|(_, event)| event).collect())
95}

Callers 2

to_jsonMethod · 0.85
print_hook_healthFunction · 0.85

Calls 4

pendingFunction · 0.85
okMethod · 0.45
collectMethod · 0.45
into_iterMethod · 0.45

Tested by

no test coverage detected