summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-01-22 21:04:11 +0800
committerkeuin <[email protected]>2021-01-22 21:04:11 +0800
commit57a2fb9fd87609f86759d437e2945b1e7d4790a1 (patch)
tree559daf6fc9723bdf5d1ce7580cbf5b33d6cd8d97 /src/main/java/com/keuin/kbackupfabric/backup/incremental/manager
parentca7f082e2a71c8fbcd2dcae21f6ec6d40cef02c7 (diff)
Add a comment as a remainder
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/backup/incremental/manager')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java b/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java
index 1984362..945fcc4 100644
--- a/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java
+++ b/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java
@@ -160,6 +160,7 @@ public class IncrementalBackupStorageManager {
*/
private boolean baseContainsObject(ObjectElement objectElement) {
// This may be extended to use more variants of hash functions and combinations of other attributes (such as file size)
+ //TODO: optimize this by using in-memory data structure
return (new File(backupStorageBase.toFile(), objectElement.getIdentifier().getIdentification())).exists();
}