mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-05 14:24:51 +01:00
Merge remote-tracking branch 'origin/feat/switch-blades' into feat/renderers-cleanup
This commit is contained in:
@@ -28,6 +28,9 @@ template <typename T> constexpr T sq(T v)
|
||||
// returns the per-user config path for `filename` (platform-specific dir),
|
||||
// or an empty path if the home/appdata env var is unavailable
|
||||
std::filesystem::path user_config_path(const std::string &filename);
|
||||
// the per-user path for `filename` among the files kept only to be fetched again faster, which don't roam with the profile:
|
||||
// %LOCALAPPDATA%\MaSzyna\cache, ~/Library/Caches/MaSzyna, $XDG_CACHE_HOME/MaSzyna or ~/.cache/MaSzyna; empty as user_config_path
|
||||
std::filesystem::path user_cache_path(const std::string &filename);
|
||||
|
||||
// TODO: Shouldn't this be in globals?
|
||||
namespace paths
|
||||
|
||||
Reference in New Issue
Block a user