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

Method lines

atomic-core/src/record/workflow/crdt/tokenize/mod.rs:77–84  ·  view source on GitHub ↗

Returns an iterator over tokenized lines. Lines are processed lazily as the iterator is consumed.

(&self)

Source from the content-addressed store, hash-verified

75 ///
76 /// Lines are processed lazily as the iterator is consumed.
77 pub fn lines(&self) -> LineIterator<'a> {
78 LineIterator {
79 content: self.content,
80 options: self.options.clone(),
81 position: 0,
82 line_number: 0,
83 }
84 }
85
86 /// Tokenizes all content and returns the result with statistics.
87 ///

Calls 1

cloneMethod · 0.45