pub async fn folders(pool: &PgPool, actor: &Actor) -> AppResult<Vec<Folder>>Expand description
The folders (active project groups the actor may see) with counts, in one query. The check-outs are counted once for all groups (not per group: that read every checked-out revision once per group).