 
     @trigger "path-changed"
 
+  # Public: Retrieves the name of the root directory.
+  #
+  # Returns a {String}.
   getRootDirectory: ->
     @rootDirectory
 
+  # Public: Retrieves the names of every file (that's not `git ignore`d) in the project.
+  #
+  # Returns an {Array} of {String}s.
   getFilePaths: ->
     deferred = $.Deferred()
     paths = []


    @ignoreRepositoryPath(path)

  ignoreRepositoryPath: (path) ->
    config.get("core.hideGitIgnoredFiles") and git?.isPathIgnored(fsUtils.join(@getPath(), path))


  destroy: ->
    editSession.destroy() for editSession in @getEditSessions()

  # Public: Retrieves the project path.
  #
  # Returns a {String}.
  getPath: ->
    @rootDirectory?.path

  # Public: Sets the project path.
  #
  # path - A {String} representing the new path
  setPath: (path) ->
    @rootDirectory?.off()

