projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af0c80a
)
File.js
author
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 03:32:59 +0000
(11:32 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 03:32:59 +0000
(11:32 +0800)
File.js
patch
|
blob
|
history
diff --git
a/File.js
b/File.js
index
2b74b09
..
647afe0
100755
(executable)
--- 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);