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

Method cutover_state_ref

atomic-repository/src/repository/cutover.rs:1002–1012  ·  view source on GitHub ↗
(
        &self,
        working_copy: WorkingCopyId,
    )

Source from the content-addressed store, hash-verified

1000 }
1001
1002 fn cutover_state_ref(
1003 &self,
1004 working_copy: WorkingCopyId,
1005 ) -> Result<RepoStateRef, RepositoryError> {
1006 let record = self.working_copy_record(working_copy)?;
1007 Ok(RepoStateRef {
1008 view: None,
1009 working_copy: Some(working_copy_state_ref(record)),
1010 git: None,
1011 })
1012 }
1013}
1014
1015/// CB-13B R2 test seam: fail the cutover between the fence and the

Callers 1

execute_shim_cutoverMethod · 0.80

Calls 2

working_copy_state_refFunction · 0.85
working_copy_recordMethod · 0.45

Tested by

no test coverage detected