MCPcopy 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
430fn normalize_line_endings(text: &str) -> String {
431 text.replace("\r\n", "\n")
432}

Callers 1

executeMethod · 0.70

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected