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

Method is_structural_operation

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

Check if this graph_op represents any structural operation (file or directory). Structural operations modify the repository's tree structure rather than file contents.

(&self)

Source from the content-addressed store, hash-verified

614 /// Structural operations modify the repository's tree structure rather than
615 /// file contents.
616 pub fn is_structural_operation(&self) -> bool {
617 self.is_file_operation() || self.is_directory_operation()
618 }
619
620 /// Check if this graph_op represents a content edit.
621 pub fn is_content_edit(&self) -> bool {

Callers

nothing calls this directly

Calls 2

is_file_operationMethod · 0.80

Tested by

no test coverage detected