nl_tokens: Revert changes for a specific directory
pl_tokens: function revertForDir ( repoState , dirPath ) { let workingState = repoState . getCurrentState ( ) ; let changes = workingState . getChanges ( ) ; // Remove all changes that are in the directory changes = changes . filter ( ( change , filePath ) => { return ! PathUtils . contains ( dirPath , filePath ) ; } ) ; // Update workingState and repoState workingState = workingState . set ( 'changes' , <mask> ) ; return RepoUtils . updateCurrentWorkingState ( repoState , workingState ) ; }