MCPcopy Create free account
hub / github.com/apache/answer / IsQuestionsIgnorePath

Function IsQuestionsIgnorePath

pkg/checker/path_ignore.go:54–57  ·  view source on GitHub ↗

IsQuestionsIgnorePath checks whether the questionID is in ignore path

(questionID string)

Source from the content-addressed store, hash-verified

52
53// IsQuestionsIgnorePath checks whether the questionID is in ignore path
54func IsQuestionsIgnorePath(questionID string) bool {
55 ignorePathInit.Do(initPathIgnore)
56 return slices.Contains(pathIgnore.Questions, questionID)
57}

Callers 1

QuestionInfoMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected