Versions in this module Expand all Collapse all v3 v3.0.0 Jun 13, 2026 Changes in this version + var ErrInvalidNameAndPath = errors.New("invalid name and path") + var ErrValidatorNotFound = errors.New("validator not found") + func GetGitccCacheDir() (string, error) + func GetValidatorCacheDir() (string, error) + func PruneValidators() (deletedDirs []string, err error) + type DB struct + func NewDB() (*DB, error) + func (db *DB) AvailableNames() []string + func (db *DB) CompileCustom(path string, name string, hash string) (validatorPath string, err error) + func (db *DB) GetBuiltin(name string) (gitcc.ValidatorConstructor, error) + func (db *DB) GetCustom(path string) string + func (db *DB) GetCustomByName(name string) string + func (db *DB) GetOrCompileCustom(path string, name string) (string, error)