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

Method identical

atomic-core/src/record/workflow/compare.rs:131–139  ·  view source on GitHub ↗

Create a result for identical content. # Arguments `encoding` - The shared encoding of both files

(encoding: Encoding)

Source from the content-addressed store, hash-verified

129 ///
130 /// * `encoding` - The shared encoding of both files
131 pub fn identical(encoding: Encoding) -> Self {
132 Self {
133 old_encoding: encoding,
134 new_encoding: encoding,
135 content_changed: false,
136 diff_ops: Vec::new(),
137 is_binary: encoding == Encoding::Binary,
138 }
139 }
140
141 /// Create a result for binary files.
142 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected