Skip to main content

dirty_scope

Function dirty_scope 

Source
pub fn dirty_scope(command: GuardedCommand) -> DirtyScope
Expand 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;