diff options
author | Keuin <[email protected]> | 2020-12-17 00:21:13 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2020-12-17 00:21:13 +0800 |
commit | 8b05c48d76bbb05c2b440e57df1d9b3323edc598 (patch) | |
tree | 941c5b51e45b074bcc8656e457c9f582211df754 /src/main/java/com/keuin/kbackupfabric/util/backup/inc/ObjectCollectionManager.java | |
parent | fd9124f475422f62691fb542c3f8f35790b65d9b (diff) |
Implementing incremental backup. (in progress)
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/backup/inc/ObjectCollectionManager.java')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/util/backup/inc/ObjectCollectionManager.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/backup/inc/ObjectCollectionManager.java b/src/main/java/com/keuin/kbackupfabric/util/backup/inc/ObjectCollectionManager.java new file mode 100644 index 0000000..9560261 --- /dev/null +++ b/src/main/java/com/keuin/kbackupfabric/util/backup/inc/ObjectCollectionManager.java @@ -0,0 +1,11 @@ +package com.keuin.kbackupfabric.util.backup.inc; + +/** + * Incremental backup is implemented as git-like file collection. + * Files are called `objects`, the collection contains all files distinguished by their + * identifiers. Usually, identifier is the combination of hash and other short information (such as size and another hash). + * The identifier should use hashes that are strong enough, to prevent possible collisions. + */ +public class ObjectCollectionManager { + +} |