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

Method total

atomic-agent/src/transcript/reasoning.rs:127–129  ·  view source on GitHub ↗

Returns the total number of learnings across all categories.

(&self)

Source from the content-addressed store, hash-verified

125impl Learnings {
126 /// Returns the total number of learnings across all categories.
127 pub fn total(&self) -> usize {
128 self.repo.len() + self.code.len() + self.workflow.len()
129 }
130
131 /// Returns true if there are no learnings in any category.
132 pub fn is_empty(&self) -> bool {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected