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

Function working_copy_state_ref

atomic-repository/src/repository/operation.rs:4659–4668  ·  view source on GitHub ↗
(record: WorkingCopyRecord)

Source from the content-addressed store, hash-verified

4657}
4658
4659pub(super) fn working_copy_state_ref(record: WorkingCopyRecord) -> WorkingCopyStateRef {
4660 WorkingCopyStateRef {
4661 id: record.id,
4662 location_fingerprint: record.location_fingerprint,
4663 desired_view: record.desired_view,
4664 desired_state: record.desired_state,
4665 materialized_state: record.materialized_state,
4666 materialized_manifest: record.materialized_manifest,
4667 }
4668}
4669
4670fn validate_state_working_copy(
4671 state: &RepoStateRef,

Calls

no outgoing calls