From 7bfe886a7ca25e90dd53b87ba6b8c1d0640522a8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 1 Apr 2017 22:58:14 +0200 Subject: Remove unused get_mtime_from_lookuptable Signed-off-by: Florian Pritz --- lib/App/BorgRestore.pm | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lib/App') diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index 7fa3251..1a6c9f3 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -369,23 +369,6 @@ sub save_node { } } -sub get_mtime_from_lookuptable { - my $self = shift; - my $lookuptable = shift; - my $path = shift; - - my @components = split /\//, $path; - my $node = $lookuptable; - - for my $component (@components) { - $node = $$node[0]->{$component}; - if (!defined($node)) { - return; - } - } - return $$node[1]; -} - sub update_cache { my $self = shift; $log->debug("Checking if cache is complete"); -- cgit v1.2.3-24-g4f1b