MCPcopy
hub / github.com/perkeep/perkeep / SecretRingFile

Method SecretRingFile

pkg/test/world.go:390–392  ·  view source on GitHub ↗

SecretRingFile returns the GnuPG secret ring, suitable for setting in CAMLI_SECRET_RING.

()

Source from the content-addressed store, hash-verified

388// SecretRingFile returns the GnuPG secret ring, suitable for setting
389// in CAMLI_SECRET_RING.
390func (w *World) SecretRingFile() string {
391 return filepath.Join(w.srcRoot, "pkg", "jsonsign", "testdata", "test-secring.gpg")
392}
393
394// SearchHandlerPath returns the path to the search handler, with trailing slash.
395func (w *World) SearchHandlerPath() string { return "/my-search/" }

Callers 3

CmdWithEnvMethod · 0.95
setupClientFunction · 0.45
envSecretRingFileFunction · 0.45

Implementers 2

testWorldpkg/gc/gc_test.go
Worldpkg/test/world.go

Calls

no outgoing calls

Tested by

no test coverage detected