Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ clean
Function
clean
atomic-cli/src/commands/change/tree.rs:52–57 ·
view source on GitHub ↗
(value: &str)
Source
from the content-addressed store, hash-verified
50
}
51
52
fn clean(value: &str) -> String {
53
value
54
.chars()
55
.map(|c| if c.is_control() {
' '
} else { c })
56
.collect()
57
}
58
59
fn text_section(title: &str, text: &str) -> Tree {
60
let mut section = Tree::new(title);
Callers
1
run_git_diff
Method · 0.85
Calls
1
collect
Method · 0.45
Tested by
no test coverage detected