nl_tokens: Returns true if the file differs from initial tree ( including removed )
pl_tokens: function hasPendingChanges ( workingState , filepath ) { // Lookup potential changes const <mask> = workingState . getChanges ( ) . get ( filepath ) ; if ( change ) { return true ; } else { // Else lookup tree const treeEntry = workingState . getTreeEntries ( ) . get ( filepath ) ; if ( ! treeEntry ) { throw error . fileNotFound ( filepath ) ; } else { return false ; } } }