package reconcile import "context" // roomySpace is the permissive RestoreSpace the pre-R-672 restore-test tests run with: 1 GiB restored, // 1 TiB free, thin metadata known and low. The space rules themselves are pinned in // restoretest_space_test.go. type roomySpace struct{} func (roomySpace) RestoredBytes(context.Context, string) (int64, string, error) { return 1 << 30, "test", nil } func (roomySpace) Free(context.Context, string) (StorageFree, error) { return StorageFree{AvailBytes: 1 << 40, UsedBytes: 1 << 30, Thin: true, MetaUsedFraction: 0.01, MetaKnown: true}, nil } func (roomySpace) Eligible(context.Context) ([]string, error) { return nil, nil }