summaryrefslogtreecommitdiff
path: root/dot-oh-my-zsh/custom/plugins/fzf/src/result_x86.go
diff options
context:
space:
mode:
Diffstat (limited to 'dot-oh-my-zsh/custom/plugins/fzf/src/result_x86.go')
m---------dot-oh-my-zsh0
-rw-r--r--dot-oh-my-zsh/custom/plugins/fzf/src/result_x86.go16
2 files changed, 0 insertions, 16 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh
new file mode 160000
+Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce
diff --git a/dot-oh-my-zsh/custom/plugins/fzf/src/result_x86.go b/dot-oh-my-zsh/custom/plugins/fzf/src/result_x86.go
deleted file mode 100644
index 3e3fd58e..00000000
--- a/dot-oh-my-zsh/custom/plugins/fzf/src/result_x86.go
+++ /dev/null
@@ -1,16 +0,0 @@
-//go:build 386 || amd64
-
-package fzf
-
-import "unsafe"
-
-func compareRanks(irank Result, jrank Result, tac bool) bool {
- left := *(*uint64)(unsafe.Pointer(&irank.points[0]))
- right := *(*uint64)(unsafe.Pointer(&jrank.points[0]))
- if left < right {
- return true
- } else if left > right {
- return false
- }
- return (irank.item.Index() <= jrank.item.Index()) != tac
-}