StackDir.mount

Mount a directory.

Files and directories of a directory mounted later will override those of a directory mounted earlier.

If dir has a parent in the VFS, a parent-less copy will be created and mounted. (This has no effect whatsoever on the underlying filesystem - it just removes the need for directories to have multiple parents).

class StackDir
void
mount
@safe

Throws

VFSMountException if a directory with the same name is already mounted, or if dir has this directory as its child or a child of any of its subdirectories (circular mounting).

Meta