 
     @inclusions = @createMatchers(inclusions, true)
     @exclusions = @createMatchers(exclusions, false)
+    @globalExclusions = @createMatchers(globalExclusions, false)
 
     @repo = GitUtils.open(rootPath) if excludeVcsIgnores
 

  #
  # Returns {Boolean} true if the directory is accepted
  isDirectoryAccepted: (filepath) ->
    @isPathAccepted('directory', filepath)

  isPathAccepted: (fileOrDirectory, filepath) ->
    # when explicit inclusion, we dont care about the exclusions
    return true if @inclusions[fileOrDirectory].length and @isPathIncluded(fileOrDirectory, filepath)
    !@isPathIgnored(fileOrDirectory, filepath) && @isPathIncluded(fileOrDirectory, filepath)

  ###
  Section: Private Methods
  ###

  isPathIgnored: (fileOrDirectory, filepath) ->
    return true if @repo?.isIgnored(@repo.relativize(filepath))

    exclusions = @exclusions[fileOrDirectory]
    r = exclusions.length
    while r--
      return true if (exclusions[r].match(filepath))
    return false

  isPathIncluded: (fileOrDirectory, filepath) ->
    inclusions = @inclusions[fileOrDirectory]
    r = inclusions.length

    return true unless r

    while r--
      return true if inclusions[r].match(filepath)
    return false

  sanitizePaths: (options) ->

  #
  # Returns {Boolean} true if the file is accepted
  isFileAccepted: (filepath) ->
    @isDirectoryAccepted(filepath) and @isPathAccepted('file', filepath)

  # Public: Test if the `filepath` is accepted as a directory based on the
  # constructing options.
