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

Method fmt

atomic-core/src/diff/semantic/config.rs:121–130  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

119
120impl fmt::Display for SemanticDiffStats {
121 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
122 write!(
123 f,
124 "{} insertions(+), {} deletions(-), {} modifications(~), {} token changes",
125 self.lines_added,
126 self.lines_deleted,
127 self.lines_modified,
128 self.total_token_changes()
129 )
130 }
131}
132
133/// The result of a semantic diff operation.

Callers

nothing calls this directly

Calls 1

is_unchangedMethod · 0.45

Tested by

no test coverage detected