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

Method capture

atomic-cli/tests/it/workspace_txn_boundaries_cb5c_test.rs:131–137  ·  view source on GitHub ↗
(fixture: &Fixture)

Source from the content-addressed store, hash-verified

129
130impl RepositorySnapshot {
131 fn capture(fixture: &Fixture) -> Self {
132 Self {
133 atomic: snapshot_path(&fixture.root().join(".atomic")),
134 git: snapshot_path(&fixture.root().join(".git")),
135 worktree: snapshot_worktree(fixture.root()),
136 }
137 }
138
139 fn differences(&self, actual: &Self) -> Vec<String> {
140 let mut differences = Vec::new();

Callers

nothing calls this directly

Calls 3

snapshot_pathFunction · 0.70
snapshot_worktreeFunction · 0.70
rootMethod · 0.45

Tested by

no test coverage detected