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

Method record_all

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

978 /// let result = repo.record_all("Update all files")?;
979 /// ```
980 pub fn record_all(&self, message: impl Into<String>) -> Result<RecordOutcome, RecordError> {
981 let options = RecordOptions::new().with_all(true);
982 self.record_with_message(message, options)
983 }
984}
985
986/// Look up inode + position for a path using a shared read transaction.

Calls 2

record_with_messageMethod · 0.80
with_allMethod · 0.45