From 4d4fe407e7d08dfa9fa28ad51490439f3e537207 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Mon, 17 Dec 2018 21:08:17 +0000
Subject: [PATCH] Test case fixed.
---
borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ArchiveFilelistCache.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ArchiveFilelistCache.java b/borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ArchiveFilelistCache.java
index cacc8e2..a5acb19 100644
--- a/borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ArchiveFilelistCache.java
+++ b/borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ArchiveFilelistCache.java
@@ -53,6 +53,18 @@
}
/**
+ * Calls {@link #load(BorgRepoConfig, Archive, FileSystemFilter)} with filter null.
+ *
+ * @param repoConfig
+ * @param archive
+ * @return
+ */
+ public List<BorgFilesystemItem> load(BorgRepoConfig repoConfig, Archive archive) {
+ return load(repoConfig, archive, null);
+ }
+
+
+ /**
* Will load and touch the archive file if exist. The file will be touched (last modified time will be set to now)
* for pruning oldest cache files. The last modified time will be the time of the last usage.
*
--
Gitblit v1.10.0