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

Method record_all

atomic-repository/src/repository/record.rs:1001–1004  ·  view source on GitHub ↗

Record all changes with a message. This is a convenience method that records all modified files. # Arguments `message` - The change message # Example ```rust,ignore let result = repo.record_all("Update all files")?; ```

(&self, message: impl Into<String>)

Source from the content-addressed store, hash-verified

999 /// let result = repo.record_all("Update all files")?;
1000 /// ```
1001 pub fn record_all(&self, message: impl Into<String>) -> Result<RecordOutcome, RecordError> {
1002 let options = RecordOptions::new().with_all(true);
1003 self.record_with_message(message, options)
1004 }
1005}
1006
1007/// Look up inode + position for a path using a shared read transaction.

Calls 2

record_with_messageMethod · 0.80
with_allMethod · 0.45