Apply FileOps using CRDT table handles opened once for the full pass. This is a specialized fast path for insert-only workloads such as large initial file adds. More complex edit patterns fall back to the generic `apply_file_ops`.
(
txn: &mut WriteTxn<'_>,
change_id: NodeId,
file_ops: &[FileOps],
)
| 228 | /// initial file adds. More complex edit patterns fall back to the generic |
| 229 | /// `apply_file_ops`. |
| 230 | pub fn apply_file_ops_batched( |
| 231 | txn: &mut WriteTxn<'_>, |
| 232 | change_id: NodeId, |
| 233 | file_ops: &[FileOps], |
| 234 | ) -> PristineResult<ApplyFileOpsStats> { |
| 235 | apply_file_ops_batched_with_inodes(txn, change_id, file_ops, &HashMap::new()) |
| 236 | } |
| 237 | |
| 238 | /// Apply semantic operations using the graph identities allocated for this |
| 239 | /// change's FileAdd operations. The map pairs paths within this change with |