lovr.filesystem.unmount

Edit

Unmounts a directory or archive previously mounted with lovr.filesystem.mount.

success = lovr.filesystem.unmount(path)

Arguments

NameTypeDescription
pathstring The path to unmount.

Returns

NameTypeDescription
successboolean Whether the archive was unmounted.

Notes

This function is not thread safe. Mounting or unmounting an archive while other threads call lovr.filesystem functions is not supported.

See also