Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
func Filter(choices []modelcatalog.ModelChoice, query string) []modelcatalog.ModelChoice
Filter returns matching choices ranked by fzf score. An empty query keeps the input order.
func Score ¶
func Score(choice modelcatalog.ModelChoice, query string) (int, bool)
Score returns fzf's match score for a model choice and query.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.