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

Method has_file_ops

atomic-core/src/change/change.rs:223–225  ·  view source on GitHub ↗

Check if this change has semantic layer operations.

(&self)

Source from the content-addressed store, hash-verified

221
222 /// Check if this change has semantic layer operations.
223 pub fn has_file_ops(&self) -> bool {
224 !self.hashed.file_ops.is_empty()
225 }
226
227 /// Add a hunk (graph operation) to this change.
228 pub fn add_hunk(&mut self, graph_op: GraphOp<Option<Hash>>) {

Callers 4

show_change_diffMethod · 0.45
write_change_to_graphFunction · 0.45

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected