diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-01 22:58:14 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-01 22:58:14 +0200 |
commit | 7bfe886a7ca25e90dd53b87ba6b8c1d0640522a8 (patch) | |
tree | 57f9d56d86bcce35d001aa5889723bf8b827d764 /lib | |
parent | bff19bb1462e401abf6a00dae8bb501b9992f5b6 (diff) | |
download | App-BorgRestore-7bfe886a7ca25e90dd53b87ba6b8c1d0640522a8.tar.gz App-BorgRestore-7bfe886a7ca25e90dd53b87ba6b8c1d0640522a8.tar.xz |
Remove unused get_mtime_from_lookuptable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/BorgRestore.pm | 17 |
1 files changed, 0 insertions, 17 deletions
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"); |