Materialize the working copy to match the current view's state. This synchronizes the working copy files with the repository graph state for the current view. Files are created, updated, or deleted to match what's recorded in the view. Since all edges are stored in the global GRAPH table, this uses the raw transaction directly with a change filter to scope which vertices are alive for this view.
(&self)
| 94 | /// } |
| 95 | /// ``` |
| 96 | pub fn materialize(&self) -> Result<MaterializeResult, RepositoryError> { |
| 97 | // Use the parallel path — buffers content in memory, processes files |
| 98 | // concurrently via rayon, writes each file in a single fs::write call, |
| 99 | // and computes content hashes in-memory (no read-back pass). |
| 100 | self.materialize_parallel(None) |
| 101 | } |
| 102 | |
| 103 | /// Sequential materialize fallback. |
| 104 | /// |