test live
authorAlan Knowles <alan@akbkhome.com>
Sun, 18 Apr 2010 10:41:35 +0000 (18:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 18 Apr 2010 10:41:35 +0000 (18:41 +0800)
File.js

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);
 
+/**
+* @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 : '/',