summaryrefslogtreecommitdiffstatshomepage
path: root/cache/sorting.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-03-14 16:47:38 +0100
committerMichael Muré <batolettre@gmail.com>2020-03-28 17:13:27 +0100
commit5e4dc87ffec7f87bbf3ebfcf256777ad773e8450 (patch)
tree04553cfb7ab8ea279c7415586ce1d0fe5c819996 /cache/sorting.go
parent58abc6b0a35b679ac0c34579ff1cb53c8fa71af4 (diff)
downloadgit-bug-5e4dc87ffec7f87bbf3ebfcf256777ad773e8450.tar.gz
git-bug-5e4dc87ffec7f87bbf3ebfcf256777ad773e8450.zip
cache: replace the all-in-one query parser by a complete one with AST/lexer/parser
Diffstat (limited to 'cache/sorting.go')
-rw-r--r--cache/sorting.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/cache/sorting.go b/cache/sorting.go
deleted file mode 100644
index 19034a9d9..000000000
--- a/cache/sorting.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package cache
-
-type OrderBy int
-
-const (
- _ OrderBy = iota
- OrderById
- OrderByCreation
- OrderByEdit
-)
-
-type OrderDirection int
-
-const (
- _ OrderDirection = iota
- OrderAscending
- OrderDescending
-)