pub fn local_truncation_plan(
sealed_bases: &[i64],
active_base: Option<i64>,
cut: i64,
) -> LocalTruncationPlanExpand description
Keep exactly the sealed-segment prefix whose bases precede the cut and keep the current active segment exactly when its base also precedes the cut.