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

Function record

atomic-cli/tests/review_publish_native.rs:145–158  ·  view source on GitHub ↗
(repo: &Repository)

Source from the content-addressed store, hash-verified

143}
144
145fn record(repo: &Repository) -> Hash {
146 *repo
147 .record(
148 repo.require_working_copy_id().unwrap(),
149 ChangeHeader::new("historical review fixture"),
150 RecordOptions::new()
151 .with_all(true)
152 .save_to_store(true)
153 .apply_after_record(true)
154 .enrich_kg(false),
155 )
156 .unwrap()
157 .hash()
158}
159
160#[test]
161fn view_validation_is_read_only_retains_all_analysis_and_needs_no_approval() {

Callers 1

newMethod · 0.70

Calls 8

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

Tested by

no test coverage detected