mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove fs/$native.getAllFilePathsAsync()
This was previously only used by project.getFilePath() which should have been using fs.traverseTree() instead.
This commit is contained in:
@@ -117,9 +117,6 @@ module.exports =
|
||||
@makeTree(@directory(path))
|
||||
@makeDirectory(path)
|
||||
|
||||
getAllFilePathsAsync: (rootPath, callback) ->
|
||||
$native.getAllFilePathsAsync(rootPath, callback)
|
||||
|
||||
traverseTree: (rootPath, onFile, onDirectory) ->
|
||||
return unless nodeFs.existsSync(rootPath) and nodeFs.statSync(rootPath).isDirectory()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user