dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform FileMethods.cs,1.1,1


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform FileMethods.cs,1.1,1.2
Date: Fri, 20 Dec 2002 22:02:08 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform
In directory subversions:/tmp/cvs-serv6278/runtime/Platform

Modified Files:
        FileMethods.cs 
Log Message:
Check for file existence without opening them


Index: FileMethods.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform/FileMethods.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** FileMethods.cs      27 Nov 2001 23:03:22 -0000      1.1
--- FileMethods.cs      21 Dec 2002 03:02:06 -0000      1.2
***************
*** 38,41 ****
--- 38,44 ----
        extern public static bool ValidatePathname(String path);
  
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern public static bool Exists(String path);
+ 
        // Open a raw binary file.  Returns false if the file
        // could not be opened.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]