Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + var ErrLegacyLayout = errors.New("repository uses S3 legacy layout") + func IsOrphanedPack(err error) bool + func TestCheckRepo(t testing.TB, repo restic.Repository) + type Checker struct + func New(repo restic.Repository, trackUnused bool) *Checker + func (c *Checker) CountPacks() uint64 + func (c *Checker) GetPacks() map[restic.ID]int64 + func (c *Checker) LoadIndex(ctx context.Context) (hints []error, errs []error) + func (c *Checker) LoadSnapshots(ctx context.Context) error + func (c *Checker) Packs(ctx context.Context, errChan chan<- error) + func (c *Checker) ReadData(ctx context.Context, errChan chan<- error) + func (c *Checker) ReadPacks(ctx context.Context, packs map[restic.ID]int64, p *progress.Counter, ...) + func (c *Checker) Structure(ctx context.Context, p *progress.Counter, errChan chan<- error) + func (c *Checker) UnusedBlobs(ctx context.Context) (blobs restic.BlobHandles) + type ErrDuplicatePacks struct + Indexes restic.IDSet + PackID restic.ID + func (e *ErrDuplicatePacks) Error() string + type ErrMixedPack struct + PackID restic.ID + func (e *ErrMixedPack) Error() string + type ErrOldIndexFormat struct + func (err *ErrOldIndexFormat) Error() string + type Error struct + Err error + TreeID restic.ID + func (e *Error) Error() string + type PackError struct + Err error + ID restic.ID + Orphaned bool + func (e *PackError) Error() string + type TreeError struct + Errors []error + ID restic.ID + func (e *TreeError) Error() string