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

Method count

atomic-agent/src/hooks/mod.rs:424–426  ·  view source on GitHub ↗

Returns the number of registered agents.

(&self)

Source from the content-addressed store, hash-verified

422
423 /// Returns the number of registered agents.
424 pub fn count(&self) -> usize {
425 self.agents.len()
426 }
427
428 /// Returns `true` if no agents are registered.
429 pub fn is_empty(&self) -> bool {

Callers 6

truncate_detailFunction · 0.45
count_occurrencesFunction · 0.45
detect_full_cycleFunction · 0.45
detect_informed_commitFunction · 0.45
count_commandsFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by 1

count_occurrencesFunction · 0.36