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

Function split_lines

atomic-core/src/diff/split.rs:280–282  ·  view source on GitHub ↗
(content: &[u8])

Source from the content-addressed store, hash-verified

278/// ```
279#[allow(dead_code)]
280pub(crate) fn split_lines(content: &[u8]) -> Vec<Line<'_>> {
281 Line::from_bytes(content)
282}
283
284#[cfg(test)]
285mod tests {

Calls

no outgoing calls