Documentation
¶
Overview ¶
Package integrity exposes the durable repository integrity-check use case.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service checks one durable repository state directory.
func NewService ¶
NewService returns an integrity-check service for stateDir.
func (Service) Check ¶
func (s Service) Check(ctx context.Context) (repository.FsckResult, error)
Check honors cancellation and returns the complete integrity report.
Click to show internal directories.
Click to hide internal directories.