mirror of https://github.com/restic/restic.git
9aa2eff384
This enables the backends to request the calculation of a backend-specific hash. For the currently supported backends this will always be MD5. The hash calculation happens as early as possible, for pack files this is during assembly of the pack file. That way the hash would even capture corruptions of the temporary pack file on disk. |
||
---|---|---|
.. | ||
doc.go | ||
pack.go | ||
pack_internal_test.go | ||
pack_test.go |