X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=File.js;h=647afe0ce8b4c57375b667d2bce977d52eb06bb2;hp=2b74b09a7399aa87c6687751eb721ad28ee86336;hb=d4ed729626d1da948bc84430ad8afd3bda749bf7;hpb=af0c80a360c444e746a770ae408ece0f0974b9ff 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);