string fusePkgVersion()

Returns current version of libfuse.

int mount(FS)(string fsName, FS fs, string mountPoint, string[] fuseArgs = null) 
if(is(FS : FileSystem))

Mounts user file system to the designated location. Template parameter FS is a file system class (real, not abstract).

Parameters

fsName

File system name.

fs

Object of file system. For the file system must first be assigned a mount point with setMountPoint().

fuseArgs

Options for FUSE (without FS name and without mount point), like -d, -f, -o autounmount, -o uid=UID, etc. The complete list is available by calling showFuseHelp().

void showFuseHelp()

Prints help for FUSE.

T fe(T)(T value, int code, string message = "")

Throws FuseException if value is equal to true.

Parameters

value

Data for comparison with true.

code

errno value for FuseException

message

Optional additional information.

Returns

Received value.

void fe(int code, string message = "")

Throws FuseException with the specified code and message.

private string getInfoAboutError(int err) nothrow

Returns string containing text view of an errno value. (Copied from amalthea.libcore, see: https://gitlab.com/os-18/amalthea

Main module. Contains the FileSystem class and some useful functions.