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:
82b17ee
)
test live
author
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Apr 2010 10:41:35 +0000
(18:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Apr 2010 10:41:35 +0000
(18:41 +0800)
File.js
patch
|
blob
|
history
diff --git
a/File.js
b/File.js
index
f0da9ff
..
65e5e95
100755
(executable)
--- a/
File.js
+++ b/
File.js
@@
-4,6
+4,20
@@
Gio = imports.gi.Gio;
imports['String.js'].load(String);
imports['String.js'].load(String);
+/**
+* @namespace File
+*
+* Library to wrap GLib and Gio basic File related methods
+*
+* usage:
+*
+* File = import.File.File;
+*
+* var contents = File.read("/tmp/test.txt");
+*
+*
+*
+*/
var File = {
SEPARATOR : '/',
var File = {
SEPARATOR : '/',