| 123456789101112131415161718192021222324252627282930 |
- return {
- tag = 'filesystem-virtual',
- summary = 'Unmount a mounted archive.',
- description = 'Unmounts a directory or archive previously mounted with `lovr.filesystem.mount`.',
- arguments = {
- path = {
- type = 'string',
- description = 'The path to unmount.'
- }
- },
- returns = {
- success = {
- type = 'boolean',
- description = 'Whether the archive was unmounted.'
- }
- },
- variants = {
- {
- arguments = { 'path' },
- returns = { 'success' }
- }
- },
- notes = [[
- This function is not thread safe. Mounting or unmounting an archive while other threads call
- lovr.filesystem functions is not supported.
- ]],
- related = {
- 'lovr.filesystem.mount'
- }
- }
|