1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-03 18:27:01 +00:00

docs: fix values of TAG bytes, fixes #6515

This commit is contained in:
Thomas Waldmann 2022-04-12 17:58:13 +02:00
parent 70e30dea4d
commit bb6188da49

View file

@ -98,7 +98,7 @@ followed by a number of log entries. Each log entry consists of: (in this order)
* First, unsigned 32-bit number, the CRC32 of the entire entry (for a PUT including the DATA) excluding the CRC32 field
* Second, unsigned 32-bit size of the entry (including the whole header)
* Third, unsigned 8-bit entry tag: PUT(1), DELETE(2) or COMMIT(3)
* Third, unsigned 8-bit entry tag: PUT(0), DELETE(1) or COMMIT(2)
* Fourth, on PUT or DELETE, 32 byte key
* Fifth, PUT only, (size - 41) bytes of data (length = size - sizeof(CRC32) - sizeof(size) - sizeof(entry tag) - sizeof(key))