     @rootDirectories.some (dir) -> dir.contains(pathToCheck)
 
   ###
-  Section: Searching and Replacing
-  ###
-
-  scan: (regex, options={}, iterator) ->
-    Grim.deprecate("Use atom.workspace.scan instead of atom.project.scan")
-    atom.workspace.scan(regex, options, iterator)
-
-  replace: (regex, replacementText, filePaths, iterator) ->
-    Grim.deprecate("Use atom.workspace.replace instead of atom.project.replace")
-    atom.workspace.replace(regex, replacementText, filePaths, iterator)
-
-  ###
   Section: Private
   ###
 

  # Public: Get an {Array} of {Directory}s associated with this project.
  getDirectories: ->
    @rootDirectories
  getRootDirectory: ->
    Grim.deprecate("Use ::getDirectories instead")
    @getDirectories()[0]

  resolve: (uri) ->
    Grim.deprecate("Use `Project::getDirectories()[0]?.resolve()` instead")
    @resolvePath(uri)

  resolvePath: (uri) ->
    return unless uri


    @subscribeToBuffer(buffer) for buffer in @buffers

    if Grim.includeDeprecations and path?
      Grim.deprecate("Pass 'paths' array instead of 'path' to project constructor")
      paths ?= _.compact([path])

    @setPaths(paths)

  destroyed: ->
