Tao.PhysFs SDK Documentation |
|
Fs.PHYSFS_isDirectory Method
Determine if a file in the search path is really a directory.
[Visual Basic]
Public Shared Function PHYSFS_isDirectory( _
ByVal
filename As
String _
) As
Integer
[C#]
public static
int PHYSFS_isDirectory(
string filename);
Parameters
-
filename
- filename in platform-independent notation.
Return Value
non-zero if filename exists and is a directory. zero otherwise.
Remarks
Determine if the first occurence of (fname) in the search path is really a directory entry.
Note that entries that are symlinks are ignored if PHYSFS_permitSymbolicLinks(1) hasn't been called, so you might end up further down in the search path than expected.
See Also
Fs Class | Tao.PhysFs Namespace | PHYSFS_exists | PHYSFS_isSymbolicLink