Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Error = errs.Class("checker error")
)
Error is a standard error class for this package.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
Checker contains the information needed to do checks for missing pieces
func NewChecker ¶
func NewChecker(metainfo *metainfo.Service, repairQueue queue.RepairQueue, overlay *overlay.Cache, irrdb irreparable.DB, limit int, logger *zap.Logger, interval time.Duration) *Checker
NewChecker creates a new instance of checker
func (*Checker) IdentifyInjuredSegments ¶
IdentifyInjuredSegments checks for missing pieces off of the metainfo and overlay cache
Click to show internal directories.
Click to hide internal directories.