Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Unmounts a zip file or folder previously mounted for reading with love.filesystem.mount.
success = love.filesystem.unmount( archive )
string archive
boolean success
-- Assuming content.zip exists in the game's save directory and contains a file called 'myimage.png'. love.filesystem.mount("content.zip", "content") assert(love.filesystem.getInfo("content/myimage.png")) love.filesystem.unmount("content.zip") assert(not love.filesystem.getInfo("content/myimage.png"))