Michael Eischer
e247118f49
repository: move Blob, Blobs and PackedBlob to pack package
...
This removes them from the public interface. The latter now only
provides the PackBlob interface, without being bound to the type used
internally by the pack package.
2026-06-05 12:25:03 +02:00
Michael Eischer
c5acfe9469
repository: unexport listPacksFromIndex
...
`ListPacksFromIndex` only has repository-internal callers left (besides
test code).
2026-06-05 12:22:51 +02:00
Michael Eischer
781c6a12ae
restic: list pack header via ListPackHandles
...
Replace ListPack with ListPackHandles so callers only receive blob
handles from pack headers, not layout fields.
2026-06-05 12:22:51 +02:00
Michael Eischer
366915e16b
repository: require *Repository for ExaminePack
...
The function wouldn't work with a different Repository implementation
anyways.
2026-06-04 23:24:27 +02:00
Michael Eischer
5d52705064
debug: move DumpPacks into repository package
...
Processing pack file internals belongs into the repository package.
2026-06-04 23:23:00 +02:00
Michael Eischer
7d25ca9d67
repository: omit unused headerSize from ListPack()
2026-05-31 22:53:00 +02:00
Michael Eischer
cc546b71e3
debug: move code requring internal access to repository package
2026-05-31 22:48:38 +02:00