summaryrefslogtreecommitdiffstats
path: root/lib/App/BorgRestore
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 21:42:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 22:31:49 +0200
commit4c84b1a04348e317ef2b9e014e4bd06bfc6d8cf2 (patch)
tree178c403acbbf9919559796502038b76d08864a34 /lib/App/BorgRestore
parent0d24899b78307e33d72a693d33178343069187dd (diff)
downloadApp-BorgRestore-4c84b1a04348e317ef2b9e014e4bd06bfc6d8cf2.tar.gz
App-BorgRestore-4c84b1a04348e317ef2b9e014e4bd06bfc6d8cf2.tar.xz
Move database path to Settings
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App/BorgRestore')
-rw-r--r--lib/App/BorgRestore/Settings.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm
index 93312b8..f793b8f 100644
--- a/lib/App/BorgRestore/Settings.pm
+++ b/lib/App/BorgRestore/Settings.pm
@@ -42,6 +42,10 @@ sub get_cache_path {
return get_cache_dir()."/$item";
}
+sub get_db_path {
+ return get_cache_path('archives.db');
+}
+
1;