summaryrefslogtreecommitdiff
path: root/obnamlib/__init__.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-03-17 18:23:43 +0200
committerLars Wirzenius <liw@liw.fi>2016-03-17 20:54:19 +0200
commit8125661b8af9b725d675faee982f6bd16f402aef (patch)
treef2b198567f00a194f456def1f7d2bcd7ddc7b81a /obnamlib/__init__.py
parent96d21a7b501e453376be19c426059e8c392a8173 (diff)
downloadobnam-8125661b8af9b725d675faee982f6bd16f402aef.tar.gz
Add whole file checksummer class
This also adds MD5 to the checksummer.py file so we don't need to special case it.
Diffstat (limited to 'obnamlib/__init__.py')
-rw-r--r--obnamlib/__init__.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/obnamlib/__init__.py b/obnamlib/__init__.py
index 94527275..e1d58c53 100644
--- a/obnamlib/__init__.py
+++ b/obnamlib/__init__.py
@@ -73,8 +73,6 @@ from .encryption import (
EncryptionError,
GpgError)
-from .checksummer import checksum_algorithms, get_checksum_algorithm
-
from .hooks import (
Hook, MissingFilterError, NoFilterTagError, FilterHook, HookManager)
from .pluginbase import ObnamPlugin
@@ -152,9 +150,21 @@ from .repo_interface import (
REPO_FILE_DEV,
REPO_FILE_INO,
REPO_FILE_MD5,
+ REPO_FILE_SHA224,
+ REPO_FILE_SHA256,
+ REPO_FILE_SHA384,
+ REPO_FILE_SHA512,
REPO_FILE_INTEGER_KEYS,
metadata_file_key_mapping)
+from .checksummer import (
+ checksum_algorithms,
+ get_checksum_algorithm,
+ get_checksum_algorithm_name,
+)
+
+from .whole_file_checksummer import WholeFileCheckSummer
+
from .delegator import RepositoryDelegator, GenerationId
from .backup_progress import BackupProgress