Defile.mount

A weapper for PHYSFS_mount.

Adds a directory or archive to the virtual file system search path. See the documentation for PHYSFS_mount for details.

struct Defile
static
void
mount
(
string newDir
,
string mountPoint = ""
,
MountAction action = MountAction.append
)

Parameters

newDir
Type: string

directory or archive to add to the search path.

mountPoint
Type: string

location in the tree in which to add newDir. null or "" is equivalent to "/". This is the default.

action

indicates if the directory should be appended or prepended to the search path. The default is MountAction.append.

Throws

DefileException if the call fails.

Meta