summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-01 23:02:41 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-01 23:02:41 +0200
commit4062f1a2233a2ed2054c8134b8397c10f6e49bcf (patch)
tree1246d290ab6beb75a9c8f69266ec85789ecf16b3 /lib/App
parent7bfe886a7ca25e90dd53b87ba6b8c1d0640522a8 (diff)
downloadApp-BorgRestore-4062f1a2233a2ed2054c8134b8397c10f6e49bcf.tar.gz
App-BorgRestore-4062f1a2233a2ed2054c8134b8397c10f6e49bcf.tar.xz
Remove unused get_temp_path
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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;