diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2023-09-17 22:13:44 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-18 12:33:39 +0200 |
commit | e5b6e24a621694aa51f8f9301886bd2ccc24be05 (patch) | |
tree | 48504b7af992c543bc1437c32cad132f300cb2c3 /src/error.rs | |
parent | 4ddadd7b64627269c3d9b92b66633969402b7e03 (diff) |
Add default cache path if XDG_CACHE_HOME does not exist
If the XDG_CACHE_HOME environmental variable does not exist then mmv
will default to "$HOME/.cache"[1]
If HOME does not exist then it will panic like before
[1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
Diffstat (limited to 'src/error.rs')
0 files changed, 0 insertions, 0 deletions