diff options
author | Keuin <[email protected]> | 2021-01-22 21:04:11 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2021-01-22 21:04:11 +0800 |
commit | 57a2fb9fd87609f86759d437e2945b1e7d4790a1 (patch) | |
tree | 559daf6fc9723bdf5d1ce7580cbf5b33d6cd8d97 | |
parent | ca7f082e2a71c8fbcd2dcae21f6ec6d40cef02c7 (diff) |
Add a comment as a remainder
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java | 1 |
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(); } |