love.filesystem.getSaveDirectory

Available since LÖVE 0.5.0
This function is not supported in earlier versions.

Gets the full path to the designated save directory. This can be useful if you want to use the standard io library (or something else) to read or write in the save directory.

Function

Synopsis

dir = love.filesystem.getSaveDirectory( )

Arguments

None.

Returns

string dir
The absolute path to the save directory.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.getSaveDirectory