projects
/
app.wkmirror
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5577a46
)
File.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Jul 2012 07:00:26 +0000
(15:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Jul 2012 07:00:26 +0000
(15:00 +0800)
File.js
patch
|
blob
|
history
diff --git
a/File.js
b/File.js
index
9f0a576
..
30d9639
100755
(executable)
--- a/
File.js
+++ b/
File.js
@@
-217,6
+217,10
@@
var File = {
var data_out = new Gio.DataOutputStream({base_stream:f.replace(null, false, Gio.FileCreateFlags.NONE, null)});
for(var i =0; i < stringAr.length; i++) {
data_out.put_byte(stringAr[i], null);
+ if (i % 10000 == 0) {
+ print("wrote " + i + "/" + stringAr.length + "\n");
+ }
+
}
data_out.close(null);
},