Skip to main content

may_cancel_checkout

Function may_cancel_checkout 

Source
pub async fn may_cancel_checkout(
    pool: &PgPool,
    actor: &Actor,
    rev: &Revision,
) -> AppResult<bool>
Expand description

For pages: whether cancel_checkout would release the revision’s lock without a reason.