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

Method is_file_start

atomic-core/src/change/local.rs:110–112  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

108 /// Check if this refers to the root of a file (line 0 or 1).
109 #[inline]
110 pub fn is_file_start(&self) -> bool {
111 self.line <= 1
112 }
113}
114
115impl fmt::Display for Local {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected