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

Function record

libatomic/src/review/view_snapshot.rs:170–181  ·  view source on GitHub ↗
(repo: &Repository)

Source from the content-addressed store, hash-verified

168 use atomic_repository::{record::RecordOptions, tracking::TrackingOptions};
169
170 fn record(repo: &Repository) {
171 repo.record(
172 repo.require_working_copy_id().unwrap(),
173 ChangeHeader::new("snapshot fixture"),
174 RecordOptions::new()
175 .with_all(true)
176 .save_to_store(true)
177 .apply_after_record(true)
178 .enrich_kg(false),
179 )
180 .unwrap();
181 }
182
183 #[test]
184 fn inherited_parent_changes_invalidate_snapshot_even_when_child_state_is_unchanged() {

Calls 7

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