code: function WatchedRoot(entry, filter, filterGlobs) {
          this.entry = entry;
          this.filter = filter;
          this.filterGlobs = filterGlobs;
      }
docs: /*
  Represents file or directory structure watched by the FileSystem. If the
  entry is a directory, all children (that pass the supplied filter function)
  are also watched. A WatchedRoot object begins and ends its life in the
  INACTIVE state. While in the process of starting up watchers, the WatchedRoot
  is in the STARTING state. When watchers are ready, the WatchedRoot enters
  the ACTIVE state.
  
  See the FileSystem class for more details.
  
  @constructor
  @param {File|Directory} entry
  @param {function(string, string):boolean} filter
  @param {Array<string>} filterGlobs