Difference between revisions of "love.filesystem.getSaveDirectory"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
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 ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 15:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Gets the full path to the designated save directory.
 +
}}

Revision as of 16:17, 14 February 2010

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