aboutsummaryrefslogtreecommitdiffstats
path: root/cache/query.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-09 22:16:00 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-09 22:16:00 +0200
commit28ee08af0d649a32b0e0bd4b06aee11ef8a8c2f9 (patch)
treef7c258ba1c837f0e7b4fdc7ece4a00147c2cb753 /cache/query.go
parentdd0823dd2ba68a9c778e81b26e53600b159b5a7d (diff)
downloadgit-bug-28ee08af0d649a32b0e0bd4b06aee11ef8a8c2f9.tar.gz
doc: document the query DSL
Diffstat (limited to 'cache/query.go')
-rw-r--r--cache/query.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/cache/query.go b/cache/query.go
index d8df00fe..8b044540 100644
--- a/cache/query.go
+++ b/cache/query.go
@@ -15,14 +15,7 @@ type Query struct {
//
// Ex: "status:open author:descartes sort:edit-asc"
//
-// Supported filter fields are:
-// - status:
-// - author:
-// - label:
-// - no:
-//
-// Sorting is done with:
-// - sort:
+// Supported filter fields and syntax are described in docs/queries.md
//
// Todo: write a complete doc
func ParseQuery(query string) (*Query, error) {