From: Alan Knowles Date: Sun, 18 Apr 2010 10:41:35 +0000 (+0800) Subject: test live X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=8b8fee11753763b33f40c49788c84da45123ca9c test live --- diff --git a/File.js b/File.js index f0da9ff..65e5e95 100755 --- 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 : '/',