MCPcopy
hub / github.com/junegunn/fzf / Index

Method Index

src/item.go:25–27  ·  view source on GitHub ↗

Index returns ordinal index of the Item

()

Source from the content-addressed store, hash-verified

23
24// Index returns ordinal index of the Item
25func (item *Item) Index() int32 {
26 return item.text.Index
27}
28
29var minItem = Item{text: util.Chars{Index: math.MinInt32}}
30

Callers 15

RunFunction · 0.95
acceptNthMethod · 0.95
scanMethod · 0.45
lastIndexMethod · 0.45
TestResultRankFunction · 0.45
TestRadixSortResultsFunction · 0.45
handleHttpRequestMethod · 0.45
PassMergerFunction · 0.45
FindIndexMethod · 0.45
ToMapMethod · 0.45
mergedGetMethod · 0.45
options.goFile · 0.45

Calls

no outgoing calls

Tested by 3

TestResultRankFunction · 0.36
TestRadixSortResultsFunction · 0.36
TestMergerUnsortedFunction · 0.36