lovr.filesystem.unmount

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

success = lovr.filesystem.unmount(path)

Arguments

NameTypeDescription
pathstringThe path to unmount.

Returns

NameTypeDescription
successbooleanWhether 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