diff options
Diffstat (limited to 'lib/App/BorgRestore')
-rw-r--r-- | lib/App/BorgRestore/Settings.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm index d7cea4b..a581dab 100644 --- a/lib/App/BorgRestore/Settings.pm +++ b/lib/App/BorgRestore/Settings.pm @@ -123,6 +123,11 @@ for my $configfile (@configfiles) { } $cache_path_base = App::BorgRestore::Helper::untaint($cache_path_base, qr/.*/); +sub get_cache_base_dir_path { + my $path = shift; + return "$cache_path_base/$path"; +} + sub get_cache_dir { return "$cache_path_base/v3"; } |