Materialize only specific files to the working copy. This is used after `insert` operations to only rewrite files that were actually affected by the inserted changes, avoiding a full rematerialization of the entire working copy. Returns the set of `(path, content_hash)` pairs for files that were written, enabling the caller to update FILE_INDEX without re-reading from disk.
(
&self,
working_copy: WorkingCopyId,
paths: std::collections::HashSet<String>,
)
| 1176 | /// written, enabling the caller to update FILE_INDEX without re-reading |
| 1177 | /// from disk. |
| 1178 | pub fn materialize_paths( |
| 1179 | &self, |
| 1180 | working_copy: WorkingCopyId, |
| 1181 | paths: std::collections::HashSet<String>, |
| 1182 | ) -> Result<MaterializeResult, RepositoryError> { |
| 1183 | self.validate_working_copy(working_copy)?; |
| 1184 | self.materialize_parallel(working_copy, Some(paths)) |
| 1185 | } |
| 1186 | |
| 1187 | /// Sequentially materialize a specific set of paths. |
| 1188 | pub fn materialize_paths_sequential( |
nothing calls this directly
no test coverage detected