pub fn cleanup_orphans(ctx: &Context, format: Format) -> Result<()>Expand description
Run project-wide orphan cleanup as a standalone maintenance command.
This is the same sweep that graph rebuild performs at the end, exposed on
its own so the daemon can schedule it periodically instead of paying its
O(project graph size) cost on every per-file graph sync-file.