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,
paths: std::collections::HashSet<String>,
)
| 144 | /// written, enabling the caller to update FILE_INDEX without re-reading |
| 145 | /// from disk. |
| 146 | pub fn materialize_paths( |
| 147 | &self, |
| 148 | paths: std::collections::HashSet<String>, |
| 149 | ) -> Result<MaterializeResult, RepositoryError> { |
| 150 | self.materialize_parallel(Some(paths)) |
| 151 | } |
| 152 | |
| 153 | /// Sequential materialize for a specific set of paths (fallback). |
| 154 | #[allow(dead_code)] |
no test coverage detected