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

Function record_all

atomic-repository/src/triage/report.rs:1354–1362  ·  view source on GitHub ↗
(repo: &Repository, message: &str)

Source from the content-addressed store, hash-verified

1352 use tempfile::TempDir;
1353
1354 fn record_all(repo: &Repository, message: &str) {
1355 let header = ChangeHeader::new(message);
1356 let options = RecordOptions::new()
1357 .with_all(true)
1358 .save_to_store(true)
1359 .apply_after_record(true);
1360 repo.record(repo.require_working_copy_id().unwrap(), header, options)
1361 .unwrap();
1362 }
1363
1364 #[test]
1365 fn vault_paths_are_recognised_as_lifecycle() {

Calls 6

apply_after_recordMethod · 0.80
save_to_storeMethod · 0.80
with_allMethod · 0.45
unwrapMethod · 0.45
recordMethod · 0.45