| 1234567891011121314151617181920212223242526 |
- return {
- summary = 'Get the location of the save directory.',
- description = 'Returns the absolute path to the save directory.',
- arguments = {},
- returns = {
- {
- name = 'path',
- type = 'string',
- description = 'The absolute path to the save directory.'
- }
- },
- notes = [[
- The save directory takes the following form:
- ```
- <appdata>/LOVR/<identity>
- ```
- Where `<appdata>` is `lovr.filesystem.getAppdataDirectory` and `<identity>` is
- `lovr.filesystem.getIdentity` and can be customized using `lovr.conf`.
- ]],
- related = {
- 'lovr.filesystem.getIdentity',
- 'lovr.filesystem.getAppdataDirectory'
- }
- }
|