MCPcopy Index your code
hub / github.com/bytebase/bytebase / TextWithPriority

Method TextWithPriority

backend/plugin/parser/base/complete.go:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (c Candidate) TextWithPriority() string {
46 return fmt.Sprintf("%d.%s", c.Priority, c.Text)
47}
48
49func (c Candidate) String() string {
50 return fmt.Sprintf("%s (%s) %s", c.Text, c.Type, c.Definition)

Callers 1

generateSortTextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected