MCPcopy Index your code
hub / github.com/apache/answer / SearchAll

Method SearchAll

internal/schema/search_schema.go:96–98  ·  view source on GitHub ↗

SearchAll check if search all

()

Source from the content-addressed store, hash-verified

94
95// SearchAll check if search all
96func (s *SearchCondition) SearchAll() bool {
97 return len(s.TargetType) == 0
98}
99
100// SearchQuestion check if search only need question
101func (s *SearchCondition) SearchQuestion() bool {

Callers 2

SearchMethod · 0.80
searchByPluginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected