package
Version:
v1.5.1
Opens a new window with list of versions in this module.
Published: Mar 22, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package check provides repository integrity verification at three levels.
Error describes a single integrity violation.
Level determines the depth of integrity checking.
const (
LevelStructure Level = iota
LevelHeaders
LevelFull
)
type Report struct {
Level Level
PacksChecked int
BlobsChecked int
SnapshotsChecked int
Errors []Error
}
Report contains the results of an integrity check.
Run performs an integrity check on the repository at the specified level.
OK returns true if no errors were found.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.