mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Split out file and directory callbacks
This commit is contained in:
@@ -102,8 +102,8 @@ module.exports =
|
||||
@makeTree(@directory(path))
|
||||
@makeDirectory(path)
|
||||
|
||||
traverseTree: (rootPath, fn) ->
|
||||
$native.traverseTree(rootPath, fn)
|
||||
traverseTree: (rootPath, onFile, onDirectory) ->
|
||||
$native.traverseTree(rootPath, onFile, onDirectory)
|
||||
|
||||
lastModified: (path) ->
|
||||
$native.lastModified(path)
|
||||
|
||||
Reference in New Issue
Block a user