Can move files from the tree view

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-04-27 12:36:29 -06:00
parent 4ca75b02c5
commit 69a76d1b47
8 changed files with 120 additions and 59 deletions

View File

@@ -53,6 +53,9 @@ module.exports =
listTree: (path) ->
$native.list(path, true)
move: (source, target) ->
$native.move(source, target)
# Remove a file at the given path. Throws an error if path is not a
# file or a symbolic link to a file.
remove: (path) ->