comparison include/core/filesystem.h @ 379:5eaafed6c10b

*: clang-format
author Paper <paper@tflc.us>
date Wed, 05 Nov 2025 12:59:46 -0500
parents 5912dafc6e28
children 0265e125f680
comparison
equal deleted inserted replaced
378:5912dafc6e28 379:5eaafed6c10b
6 namespace Filesystem { 6 namespace Filesystem {
7 7
8 void CreateDirectories(const std::filesystem::path &path); 8 void CreateDirectories(const std::filesystem::path &path);
9 std::filesystem::path GetDotPath(); // %APPDATA%/minori/, ~/Library/Application Support/minori/, ~/.config/minori/... 9 std::filesystem::path GetDotPath(); // %APPDATA%/minori/, ~/Library/Application Support/minori/, ~/.config/minori/...
10 std::filesystem::path GetConfigPath(); // (dotpath)/config.json 10 std::filesystem::path GetConfigPath(); // (dotpath)/config.json
11 std::filesystem::path GetAnimeDBPath(); // (dotpath)/anime/db.json 11 std::filesystem::path GetAnimeDBPath(); // (dotpath)/anime/db.json
12 std::filesystem::path GetTorrentsPath(); // (dotpath)/torrents/... 12 std::filesystem::path GetTorrentsPath(); // (dotpath)/torrents/...
13 std::filesystem::path GetAnimePostersPath(); // (dotpath)/anime/posters/ 13 std::filesystem::path GetAnimePostersPath(); // (dotpath)/anime/posters/
14 14
15 } // namespace Filesystem 15 } // namespace Filesystem
16 16
17 #endif // MINORI_CORE_FILESYSTEM_H_ 17 #endif // MINORI_CORE_FILESYSTEM_H_