Tao.PhysFs SDK Documentation

Fs.PHYSFS_removeFromSearchPath Method 

Remove a directory or archive from the search path.

[Visual Basic]
Public Shared Function PHYSFS_removeFromSearchPath( _
   ByVal oldDir As String _
) As Integer
[C#]
public static int PHYSFS_removeFromSearchPath(
   string oldDir
);

Parameters

oldDir
dir/archive to remove.

Return Value

nonzero on success, zero on failure. Specifics of the error can be gleaned from PHYSFS_getLastError().

Remarks

This must be a (case-sensitive) match to a dir or archive already in the search path, specified in platform-dependent notation.

This call will fail (and fail to remove from the path) if the element still has files open in it.

See Also

Fs Class | Tao.PhysFs Namespace | PHYSFS_addToSearchPath | PHYSFS_getSearchPath