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

Method record_all

atomic-repository/src/repository/record.rs:1210–1213  ·  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

1208 /// let result = repo.record_all("Update all files")?;
1209 /// ```
1210 pub fn record_all(&self, message: impl Into<String>) -> Result<RecordOutcome, RecordError> {
1211 let options = RecordOptions::new().with_all(true);
1212 self.record_with_message(message, options)
1213 }
1214}
1215
1216/// Look up inode + position for a path using a shared read transaction.

Calls 2

record_with_messageMethod · 0.80
with_allMethod · 0.45