summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/BorgRestore.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm
index 1a6c9f3..3e76c0d 100644
--- a/lib/App/BorgRestore.pm
+++ b/lib/App/BorgRestore.pm
@@ -213,17 +213,6 @@ sub restore {
$self->{borg}->restore($components_to_strip, $archive_name, $path);
}
-sub get_temp_path {
- my $self = shift;
- my $item = shift;
-
- state $tempdir_obj = File::Temp->newdir();
-
- my $tempdir = $tempdir_obj->dirname;
-
- return $tempdir."/".$item;
-}
-
sub add_path_to_hash {
my $self = shift;
my $hash = shift;