Skip to main content

check_in_all

Function check_in_all 

Source
pub async fn check_in_all(
    pool: &PgPool,
    actor: &Actor,
    only: Option<&[Uuid]>,
) -> AppResult<Vec<CheckInOutcome>>
Expand description

Checks in every revision the actor has checked out – or only those of only – without new files: the lock is released, the revision keeps its files. Each revision is checked in in its own transaction with its own audit record (revision.checkin), so one failure does not block the others; the outcome lists every revision. Clients with a local workspace (desktop) pass only the revisions without local changes.