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

Method new

atomic-core/src/merge/three_way.rs:49–53  ·  view source on GitHub ↗

Create a new merge token from a byte slice.

(content: &[u8])

Source from the content-addressed store, hash-verified

47impl MergeToken {
48 /// Create a new merge token from a byte slice.
49 pub fn new(content: &[u8]) -> Self {
50 Self {
51 content: content.to_vec(),
52 }
53 }
54}
55
56// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected