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

Method line

atomic-core/src/change/graph_op.rs:571–573  ·  view source on GitHub ↗

Get the line number for this graph_op, if applicable.

(&self)

Source from the content-addressed store, hash-verified

569
570 /// Get the line number for this graph_op, if applicable.
571 pub fn line(&self) -> Option<u64> {
572 self.local().map(|l| l.line)
573 }
574
575 /// Get the encoding for this graph_op, if any.
576 pub fn encoding(&self) -> Option<Encoding> {

Callers

nothing calls this directly

Calls 1

localMethod · 0.45

Tested by

no test coverage detected