summaryrefslogtreecommitdiff
path: root/obnamlib/repo_interface.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/repo_interface.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/repo_interface.py')
-rw-r--r--obnamlib/repo_interface.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py
index 487d8672..6ab93ccd 100644
--- a/obnamlib/repo_interface.py
+++ b/obnamlib/repo_interface.py
@@ -56,6 +56,10 @@ REPO_FILE_GROUPNAME = _get_next_id()
REPO_FILE_SYMLINK_TARGET = _get_next_id()
REPO_FILE_XATTR_BLOB = _get_next_id()
REPO_FILE_MD5 = _get_next_id()
+REPO_FILE_SHA224 = _get_next_id()
+REPO_FILE_SHA256 = _get_next_id()
+REPO_FILE_SHA384 = _get_next_id()
+REPO_FILE_SHA512 = _get_next_id()
_MAX_STRING_KEY = REPO_FILE_MD5