Debug label for a leaf op's variant (batch-refusal tracing).
(leaf_op: &LeafOp)
| 586 | |
| 587 | /// Debug label for a leaf op's variant (batch-refusal tracing). |
| 588 | fn leaf_op_discriminant(leaf_op: &LeafOp) -> &'static str { |
| 589 | match leaf_op { |
| 590 | LeafOp::Insert { .. } => "Insert", |
| 591 | LeafOp::Delete { .. } => "Delete", |
| 592 | LeafOp::Replace { .. } => "Replace", |
| 593 | LeafOp::Restore { .. } => "Restore", |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | /// Apply FileOps for a single file. |
| 598 | fn apply_single_file_ops<T: MutTxnT>( |
nothing calls this directly
no outgoing calls
no test coverage detected