Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ normalize_line_endings
Function
normalize_line_endings
crates/opencode-tool/src/edit/tool.rs:430–432 ·
view source on GitHub ↗
(text: &str)
Source
from the content-addressed store, hash-verified
428
}
429
430
fn normalize_line_endings(text: &str) -> String {
431
text.replace(
"\r\n"
,
"\n"
)
432
}
Callers
1
execute
Method · 0.70
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected