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

Method current_line

atomic-core/src/output/repo/writer.rs:203–205  ·  view source on GitHub ↗

Get the current line number (1-based). This is the line number where the next write will occur.

(&self)

Source from the content-addressed store, hash-verified

201 ///
202 /// This is the line number where the next write will occur.
203 pub fn current_line(&self) -> u32 {
204 self.line
205 }
206
207 /// Get the total bytes written.
208 pub fn bytes_written(&self) -> u64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected