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

Method materialize_sequential

atomic-repository/src/repository/materialize.rs:1144–1153  ·  view source on GitHub ↗

Sequential materialize fallback. Processes files one at a time through the streaming writer path. Used when the parallel path is not suitable (e.g., memory-constrained environments).

(
        &self,
        working_copy: WorkingCopyId,
    )

Source from the content-addressed store, hash-verified

1142 /// Used when the parallel path is not suitable (e.g., memory-constrained
1143 /// environments).
1144 pub fn materialize_sequential(
1145 &self,
1146 working_copy: WorkingCopyId,
1147 ) -> Result<MaterializeResult, RepositoryError> {
1148 self.validate_working_copy(working_copy)?;
1149 // PATH_CLAIMS conflict rendering is batch-validated before filesystem
1150 // effects. Reuse that single implementation so sequential and parallel
1151 // entry points cannot disagree about a claimant.
1152 self.materialize_parallel(working_copy, None)
1153 }
1154
1155 /// Materialize only specific files to the working copy.
1156 ///

Callers

nothing calls this directly

Calls 2

validate_working_copyMethod · 0.80
materialize_parallelMethod · 0.45

Tested by

no test coverage detected