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

Directory = require 'directory'
BufferedProcess = require 'buffered-process'

module.exports =
class Project
  registerDeserializer(this)


    @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 = []
