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

Function record_all

atomic-repository/src/repository/tests/attribute_tests.rs:8–17  ·  view source on GitHub ↗
(repo: &TestRepository, message: &str)

Source from the content-addressed store, hash-verified

6use atomic_core::change::{GraphOp, InodeAttr, InodeKind};
7
8fn record_all(repo: &TestRepository, message: &str) -> crate::record::RecordOutcome {
9 repo.record(
10 ChangeHeader::new(message),
11 RecordOptions::new()
12 .with_all(true)
13 .save_to_store(true)
14 .apply_after_record(true),
15 )
16 .unwrap()
17}
18
19#[cfg(unix)]
20#[test]

Calls 5

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

Tested by

no test coverage detected