   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()
 


    @ignoreRepositoryPath(path)

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


    deferred.resolve(paths)
    deferred.promise()

  # Public: Identifies if a path is ignored.
  #
  # path - The {String} name of the path to check
  #
  # Returns a {Boolean}.
  isPathIgnored: (path) ->
    for segment in path.split("/")
      ignoredNames = config.get("core.ignoredNames") or []
