SongRec/Internal formats/preferences.toml: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
It uses the [https://toml.io/fr/ TOML] format. | It uses the [https://toml.io/fr/ TOML] format. | ||
It is written through by the <code>[https://github.com/marin-m/SongRec/blob/main/src/core/preferences.rs src/core/preferences.rs]</code> utility file. | It is written through by the <code>[https://github.com/marin-m/SongRec/blob/main/src/core/preferences.rs src/core/preferences.rs]</code> utility file, which open the path of the preferences file through <code>[https://github.com/marin-m/SongRec/blob/main/src/utils/filesystem_operations.rs src/utils/filesystem_operations.rs]</code>. | ||
== Save location == | == Save location == | ||
Revision as of 22:52, 5 May 2026
The preferences.toml file of SongRec is saved, under Linux, at the ~/.config/songrec/preferences.toml path by default, when using an unsandboxed environment.
It uses the TOML format.
It is written through by the src/core/preferences.rs utility file, which open the path of the preferences file through src/utils/filesystem_operations.rs.
Save location
(WIP 2026-05-05)
Variables
(WIP 2026-05-05)