fn worktree_dirty_verdict(path: &Path) -> Option<String>Expand description
The despawn’s dirty verdict, taken off the runtime’s worker: git status
walks the tracked tree, and the verdict gates the teardown, so the caller
cannot await a spawn_blocking handle. block_in_place hands the worker’s
tasks to another thread for the call; a current-thread runtime has no other
thread, and stays inline. A LocalSet is not detected - tokio still reports
MultiThread there, where block_in_place panics - and the workspace runs
none.