MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / split_lines

Function split_lines

rust/src/shell.rs:67–73  ·  view source on GitHub ↗
(string: &str)

Source from the content-addressed store, hash-verified

65}
66
67pub fn split_lines(string: &str) -> Vec<&str> {
68 if string.contains(CRLF) {
69 string.split(CRLF).collect()
70 } else {
71 string.split(LF).collect()
72 }
73}

Callers

nothing calls this directly

Calls 2

collectMethod · 0.80
splitMethod · 0.80

Tested by

no test coverage detected