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

Method name

atomic-core/src/diff/inline.rs:125–132  ·  view source on GitHub ↗

Get a display name for this hunk kind.

(&self)

Source from the content-addressed store, hash-verified

123
124 /// Get a display name for this hunk kind.
125 pub fn name(&self) -> &'static str {
126 match self {
127 HunkKind::Deleted => "deleted",
128 HunkKind::Inserted => "inserted",
129 HunkKind::Modified => "modified",
130 HunkKind::Unchanged => "unchanged",
131 }
132 }
133
134 /// Get the ANSI color code for terminal display.
135 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected