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

Method from

atomic-cli/src/commands/diff/json.rs:99–104  ·  view source on GitHub ↗
(author: &atomic_core::change::Author)

Source from the content-addressed store, hash-verified

97
98impl From<&atomic_core::change::Author> for JsonDiffAuthor {
99 fn from(author: &atomic_core::change::Author) -> Self {
100 Self {
101 name: author.name.clone(),
102 email: author.email.clone(),
103 }
104 }
105}
106
107/// One file's changes.

Callers

nothing calls this directly

Calls 10

line_status_nameFunction · 0.85
cloneMethod · 0.45
display_pathMethod · 0.45
descriptionMethod · 0.45
status_charMethod · 0.45
collectMethod · 0.45
iterMethod · 0.45
file_countMethod · 0.45
total_insertionsMethod · 0.45
total_deletionsMethod · 0.45

Tested by

no test coverage detected