From d4ed729626d1da948bc84430ad8afd3bda749bf7 Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 19 Apr 2010 11:32:59 +0800 Subject: [PATCH] File.js --- File.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/File.js b/File.js index 2b74b09..647afe0 100755 --- a/File.js +++ b/File.js @@ -116,6 +116,7 @@ var File = { }, /** * remove + * Delete a file. * @arg path {String} File to remove * * @@ -124,7 +125,7 @@ var File = { { var f = Gio.file_new_for_path(String(path)); return f.delete(); - } + }, // copy files recursively from fromDir, silently ignore them if they already exist in toDir silentRecursiveCopy : function (fromDir, toDir) { var filesToCopy = File.recursiveListing(fromDir); -- 2.39.2