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

Method add_hunk

atomic-core/src/record/workflow/globalize/file.rs:43–45  ·  view source on GitHub ↗

Add a graph_op to the result.

(&mut self, graph_op: GraphOp<Option<Hash>>)

Source from the content-addressed store, hash-verified

41
42 /// Add a graph_op to the result.
43 pub fn add_hunk(&mut self, graph_op: GraphOp<Option<Hash>>) {
44 self.hunks.push(graph_op);
45 }
46
47 /// Set bytes added.
48 pub fn set_bytes_added(&mut self, bytes: u64) {

Callers 1

globalize_recorded_fileFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected