MCPcopy
hub / github.com/perkeep/perkeep / String

Method String

pkg/search/query_test.go:68–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66)
67
68func (i indexType) String() string {
69 switch i {
70 case indexClassic:
71 return "classic"
72 case indexCorpusScan:
73 return "scan"
74 case indexCorpusBuild:
75 return "build"
76 default:
77 return fmt.Sprintf("unknown-index-type-%d", i)
78 }
79}
80
81type queryTest struct {
82 t testing.TB

Calls

no outgoing calls

Tested by

no test coverage detected