1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-31 19:52:22 +00:00
borg/darc/__init__.py
2010-12-06 21:46:29 +01:00

14 lines
374 B
Python

# This is a python package
NS_CHUNK = 0
NS_ARCHIVE_METADATA = 1
NS_ARCHIVE_CHUNKS = 2
NS_ARCHIVE_ITEMS = 3
PACKET_ENCRYPT_READ = 2 ** 7
PACKET_ENCRYPT_CREATE = 2 ** 6
PACKET_CHUNK = 1 | PACKET_ENCRYPT_READ
PACKET_ARCHIVE_METADATA = 2 | PACKET_ENCRYPT_READ
PACKET_ARCHIVE_ITEMS = 3 | PACKET_ENCRYPT_READ
PACKET_ARCHIVE_CHUNKS = 1 | PACKET_ENCRYPT_CREATE