Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repairer ¶
type Repairer interface {
// Verify checks if the file in the directory are healthy.
// Returns true if healthy, false if repair is needed.
Verify(path string) (bool, error)
// Repair attempts to fix the files using available parity volumes.
Repair(path string) error
}
Repairer defines the behavior for verifying and fixing downloads
Click to show internal directories.
Click to hide internal directories.