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

Method new

atomic-core/src/record/workflow/recipes/diff_op_rules.rs:68–70  ·  view source on GitHub ↗
(bytes: &'a [u8])

Source from the content-addressed store, hash-verified

66
67impl<'a> Line<'a> {
68 pub fn new(bytes: &'a [u8]) -> Self {
69 Self { bytes }
70 }
71
72 /// Convert the line's tokens into `LeafOp::Insert` ops, allocating
73 /// fresh leaf IDs via `alloc_leaf`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected