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

Method has_file_ops

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

Check if this change has semantic layer operations.

(&self)

Source from the content-addressed store, hash-verified

257
258 /// Check if this change has semantic layer operations.
259 pub fn has_file_ops(&self) -> bool {
260 !self.hashed.file_ops.is_empty()
261 }
262
263 /// Add a hunk (graph operation) to this change.
264 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