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

Function working_copy

atomic-repository/tests/it/state_based_diff_test.rs:42–44  ·  view source on GitHub ↗
(repo: &Repository)

Source from the content-addressed store, hash-verified

40use tempfile::TempDir;
41
42fn working_copy(repo: &Repository) -> WorkingCopyId {
43 repo.require_working_copy_id().expect("working copy id")
44}
45
46/// Create a test repository with a single recorded file.
47fn create_test_repo() -> (Repository, TempDir, PathBuf) {

Calls 1

Tested by

no test coverage detected