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

Method with_content

atomic-core/src/record/workflow/retrieve.rs:143–150  ·  view source on GitHub ↗

Create a result with content.

(content: Vec<u8>, vertices: usize)

Source from the content-addressed store, hash-verified

141
142 /// Create a result with content.
143 pub fn with_content(content: Vec<u8>, vertices: usize) -> Self {
144 Self {
145 content,
146 vertices_processed: vertices,
147 has_conflicts: false,
148 conflict_count: 0,
149 }
150 }
151
152 /// Mark as having conflicts.
153 pub fn with_conflicts(mut self, count: usize) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected