m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00
This commit is contained in:
Junegunn Choi
2016-08-14 17:51:34 +09:00
parent 8df7d962e6
commit d4b6338102
4 changed files with 5 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ func buildEmptyRank(index int32) [5]int32 {
return [5]int32{0, 0, 0, 0, index}
}
// Index returns ordinal index of the Item
func (item *Item) Index() int32 {
return item.rank[4]
}