diff options
Diffstat (limited to 'libdino/src/util/util.vala')
-rw-r--r-- | libdino/src/util/util.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdino/src/util/util.vala b/libdino/src/util/util.vala index 553ebbfe..9f7ae45f 100644 --- a/libdino/src/util/util.vala +++ b/libdino/src/util/util.vala @@ -69,6 +69,10 @@ public static string get_storage_dir() { return Path.build_filename(Environment.get_user_data_dir(), "dino"); } +public static string get_cache_dir() { + return Path.build_filename(Environment.get_user_cache_dir(), "dino"); +} + [CCode (cname = "dino_gettext", cheader_filename = "dino_i18n.h")] public static extern unowned string _(string s); |