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

Function working_copy_state_ref

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls