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

Method is_empty

atomic-agent/src/provenance/detail.rs:157–159  ·  view source on GitHub ↗

Returns `true` if all fields are empty.

(&self)

Source from the content-addressed store, hash-verified

155impl Learnings {
156 /// Returns `true` if all fields are empty.
157 pub fn is_empty(&self) -> bool {
158 self.repo.is_empty() && self.workflow.is_empty() && self.code.is_empty()
159 }
160}
161
162// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected