You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored.
The non-essential bit there means this data can be purged at any point without impacting the user. theme.ron being user data probably should be preserved, which suggests it should be in "$XDG_CONFIG_HOME/gitui/theme.ron"
The text was updated successfully, but these errors were encountered:
This changes the config directory from the `dirs::cache_dir` to `dirs::config_dir`. It does however keep the cache directory as the default logging directory, as it seems a better fit.
It also adds a function, `migrate_config`, which is called at startup to move directory entries inside the "old" config directory to the "new" one (but it skips moving log files). The intention is that this function can be removed after a few releases when the likelihood of someone upgrading from 0.6.0 or earlier is fairly small.
Fixesgitui-org#98
This changes the config directory from the `dirs::cache_dir` to `dirs::config_dir`. It does however keep the cache directory as the default logging directory, as it seems a better fit.
It also adds a function, `migrate_config`, which is called at startup to move directory entries inside the "old" config directory to the "new" one (but it skips moving log files). The intention is that this function can be removed after a few releases when the likelihood of someone upgrading from 0.6.0 or earlier is fairly small.
Fixes#98
Related to #27
The spec notes:
The non-essential bit there means this data can be purged at any point without impacting the user.
theme.ron
being user data probably should be preserved, which suggests it should be in"$XDG_CONFIG_HOME/gitui/theme.ron"
The text was updated successfully, but these errors were encountered: