{{newin|[[0.9.0]]|090|type=function}}
Unmounts a zip file or folder previously mounted for reading with [[love.filesystem.mount]].
== Function ==
=== Synopsis ===
<source lang="lua">
success = love.filesystem.unmount( archive )
</source>
=== Arguments ===
{{param|string|archive|The folder or zip file in the game's save directory which is currently mounted.}}
=== Returns ===
{{param|boolean|success|True if the archive was successfully unmounted, false otherwise.}}

== Examples ==
=== Mount a zip file and then unmount it. ===
<source lang="lua">
-- 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"))
</source>

== See Also ==
* [[parent::love.filesystem]]
* [[love.filesystem.mount]]
[[Category:Functions]]
{{#set:Description=Unmounts a zip file or folder previously mounted with [[love.filesystem.mount]].}}
== Other Languages ==
{{i18n|love.filesystem.unmount}}