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

Method header

atomic-cli/src/commands/diff/types.rs:397–402  ·  view source on GitHub ↗

Get the graph_op header in unified diff format. Returns a string like `@@ -1,5 +1,6 @@`

(&self)

Source from the content-addressed store, hash-verified

395 ///
396 /// Returns a string like `@@ -1,5 +1,6 @@`
397 pub fn header(&self) -> String {
398 format!(
399 "@@ -{},{} +{},{} @@",
400 self.old_start, self.old_count, self.new_start, self.new_count
401 )
402 }
403
404 /// Check if this graph_op contains any changes.
405 pub fn has_changes(&self) -> bool {

Callers 13

fetch_latestFunction · 0.45
executeMethod · 0.45
upload_changeMethod · 0.45
upload_tagMethod · 0.45
upload_attestationMethod · 0.45
upload_provenanceMethod · 0.45
embed_voyageMethod · 0.45
embed_openaiMethod · 0.45
call_anthropicMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected