Mercurial > minori
comparison include/core/filesystem.h @ 369:47c9f8502269
*: clang-format all the things
I've edited the formatting a bit. Now pointer asterisks (and reference
ampersands) are on the variable instead of the type, as well as having
newlines for function braces (but nothing else)
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 25 Jul 2025 10:16:02 -0400 |
| parents | 3ec7804abf17 |
| children | 5912dafc6e28 |
comparison
equal
deleted
inserted
replaced
| 368:6d37a998cf91 | 369:47c9f8502269 |
|---|---|
| 3 #include <filesystem> | 3 #include <filesystem> |
| 4 #include <string> | 4 #include <string> |
| 5 | 5 |
| 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 | 13 |
