mirror of
https://github.com/octoleo/restic.git
synced 2024-11-05 12:57:53 +00:00
a23e9c86ba
The method only ever receives *hashing.Writers, which don't implement io.Closer. These come from packerManager.findPacker and have their actual writers closed in Repository.savePacker. Moving the closing logic to hashing.Writer results in "file already closed" errors. |
||
---|---|---|
.. | ||
doc.go | ||
pack_internal_test.go | ||
pack_test.go | ||
pack.go |