MCPcopy Index your code
hub / github.com/aptly-dev/aptly / GetVerifier

Method GetVerifier

context/context.go:559–569  ·  view source on GitHub ↗

GetVerifier returns Verifier with respect to provider

()

Source from the content-addressed store, hash-verified

557
558// GetVerifier returns Verifier with respect to provider
559func (context *AptlyContext) GetVerifier() pgp.Verifier {
560 context.Lock()
561 defer context.Unlock()
562
563 provider := context.pgpProvider()
564 if provider == "internal" { // nolint: goconst
565 return &pgp.GoVerifier{}
566 }
567
568 return pgp.NewGpgVerifier(context.getGPGFinder())
569}
570
571// SkelPath builds the local skeleton folder
572func (context *AptlyContext) SkelPath() string {

Callers 6

getVerifierFunction · 0.80
aptlyRepoAddFunction · 0.80
aptlyRepoIncludeFunction · 0.80
apiReposPackageFromDirFunction · 0.80
getVerifierFunction · 0.80

Calls 3

pgpProviderMethod · 0.95
getGPGFinderMethod · 0.95
NewGpgVerifierFunction · 0.92

Tested by

no test coverage detected