pub fn dirty_scope(command: GuardedCommand) -> DirtyScopeExpand description
What:
The files that count as uncommitted state for a guarded command.
Why:
A clean deletes untracked files, so they count for it; every other form loses tracked changes only.
In TS you’d write (pseudocode):
function dirtyScope(command: GuardedCommand): DirtyScope;