View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory sc8-pr-cvs1:/tmp/cvs-serv8004
Modified Files:
tools.js
Log Message:
added fileExists and renameFile to tools.js
Index: tools.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/tools.js,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** tools.js 2 May 2003 22:22:32 -0000 1.37
--- tools.js 27 Jun 2003 22:43:13 -0000 1.38
***************
*** 50,53 ****
--- 50,83 ----
}
+ // file exists
+ function fileExists(filename)
+ {
+ if (ensureLauncher())
+ {
+ return DQSDLauncher.FileExists(filename);
+ }
+ else
+ throw "Unable to check if file " + filename + " exists";
+ }
+
+ // rename file
+ function renameFile(fromFilename, toFilename)
+ {
+ if (ensureLauncher())
+ {
+ try
+ {
+ DQSDLauncher.RenameFile(fromFilename, toFilename);
+ return true;
+ }
+ catch (e)
+ {
+ return false;
+ }
+ }
+ else
+ throw "Unable to rename file " + filename;
+ }
+
// read file
function readFile(filename)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/