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

Method has_file_ops

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

Check if this change has semantic layer operations.

(&self)

Source from the content-addressed store, hash-verified

247
248 /// Check if this change has semantic layer operations.
249 pub fn has_file_ops(&self) -> bool {
250 !self.hashed.file_ops.is_empty()
251 }
252
253 /// Add a hunk (graph operation) to this change.
254 pub fn add_hunk(&mut self, graph_op: GraphOp<Option<Hash>>) {

Callers 5

diff_changeFunction · 0.45
show_change_diffMethod · 0.45

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected