pub async fn released_from(
pool: &PgPool,
actor: &Actor,
rev: &Revision,
) -> AppResult<Option<ReleasedCheckout>>Expand description
The forced release of actor’s check-out of rev, if that is the last
thing that happened to its lock and it is not checked out now. Read from
the audit log (details.holder, written by revisions::cancel_checkout),
so it needs no state of its own; releases audited before the holder was
recorded are not reported.