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

Method set_file_ops

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

Set the semantic layer operations for this change, replacing any existing ones.

(&mut self, ops: Vec<FileOps>)

Source from the content-addressed store, hash-verified

237
238 /// Set the semantic layer operations for this change, replacing any existing ones.
239 pub fn set_file_ops(&mut self, ops: Vec<FileOps>) {
240 self.hashed.file_ops = ops;
241 }
242
243 /// Get a reference to the file operations.
244 pub fn file_ops(&self) -> &[FileOps] {

Calls

no outgoing calls