Difference between revisions of "love.filesystem.getSaveDirectory"

m (Add newin)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{newin|[[0.5.0]]|050|type=function}}
 
Gets the full path to the designated save directory.
 
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
 
This can be useful if you want to use the standard io library (or something else) to
Line 14: Line 15:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the full path to the designated save directory.
+
{{#set:Description=Gets the full path to the designated save directory.}}
}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.getSaveDirectory}}
 
{{i18n|love.filesystem.getSaveDirectory}}

Latest revision as of 12:17, 15 December 2018

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

Other Languages