Files
restic/internal
Michael Eischer 1d80020e28 Move buffer pool into the repository (#21942)
* restic: add BlobBuffer pool types

Based on the buffer type used by the archiver. The main change is that
`Get()` now always returns a slice with length zero.

* repository: add BlobBufferPool to BlobSaverAsync

* repository: change SaveBlobAsync to take a BlobBuffer

Ownership of the buffer transfers to SaveBlobAsync. Callers can now take
a buffer from the buffer pool.

Internally saveAndEncrypt now reuses pooled buffers.

* archiver: switch fileSaver to repository BlobBufferPool
2026-11-22 18:08:20 +01:00
..
2026-07-22 22:26:19 +02:00
2026-07-22 22:26:19 +02:00
2026-07-22 22:27:07 +02:00
2026-07-22 22:27:15 +02:00
2026-08-29 21:02:05 +02:00
2026-07-22 22:27:07 +02:00
2026-08-29 21:02:05 +02:00
2026-07-22 22:27:15 +02:00
2026-11-19 12:22:31 +01:00
2026-07-22 22:25:18 +02:00
2026-07-22 22:27:15 +02:00