From: alan Date: Mon, 19 Apr 2010 03:32:59 +0000 (+0800) Subject: File.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=d4ed729626d1da948bc84430ad8afd3bda749bf7;hp=af0c80a360c444e746a770ae408ece0f0974b9ff File.js --- 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);