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

Method is_empty

atomic-agent/src/provenance/accumulator/mod.rs:271–273  ·  view source on GitHub ↗

Returns `true` if the graph has no nodes.

(&self)

Source from the content-addressed store, hash-verified

269
270 /// Returns `true` if the graph has no nodes.
271 pub fn is_empty(&self) -> bool {
272 self.nodes.is_empty()
273 }
274
275 /// The file path where this graph would be persisted.
276 pub fn graph_path(session_dir: &Path) -> PathBuf {

Callers 7

append_patch_proposalMethod · 0.45
infer_edgesMethod · 0.45
pending_graph_deltaMethod · 0.45
to_compaction_summaryMethod · 0.45
make_session_prefixFunction · 0.45
build_tool_detailFunction · 0.45
shorten_pathFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected