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

Method materialize_sequential

atomic-repository/src/repository/materialize.rs:1158–1167  ·  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

1156 /// Used when the parallel path is not suitable (e.g., memory-constrained
1157 /// environments).
1158 pub fn materialize_sequential(
1159 &self,
1160 working_copy: WorkingCopyId,
1161 ) -> Result<MaterializeResult, RepositoryError> {
1162 self.validate_working_copy(working_copy)?;
1163 // PATH_CLAIMS conflict rendering is batch-validated before filesystem
1164 // effects. Reuse that single implementation so sequential and parallel
1165 // entry points cannot disagree about a claimant.
1166 self.materialize_parallel(working_copy, None)
1167 }
1168
1169 /// Materialize only specific files to the working copy.
1170 ///

Callers

nothing calls this directly

Calls 2

validate_working_copyMethod · 0.80
materialize_parallelMethod · 0.45

Tested by

no test coverage detected