aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/query/lexer_test.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-07-27 20:50:37 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-07-27 21:15:16 -0400
commit7b5cd075161bd4e1a05070d51cc64b38882ae74b (patch)
treec4afcd5999895ec8974747c1c721b6876bd0246b /pkg/query/lexer_test.go
parent75c3d32881a3b382ab6b63f25d177d40a2ca4256 (diff)
Remove unimplemented external command operators
Executing external commands against file metadata is a serious security risk. The desired features of most external commands can be safely implemented using SQLite native functions.
Diffstat (limited to 'pkg/query/lexer_test.go')
-rw-r--r--pkg/query/lexer_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/query/lexer_test.go b/pkg/query/lexer_test.go
index fb329ba..5888902 100644
--- a/pkg/query/lexer_test.go
+++ b/pkg/query/lexer_test.go
@@ -22,8 +22,6 @@ const (
TOK_OP_LE = query.TOK_OP_LE
TOK_OP_GE = query.TOK_OP_GE
TOK_OP_GT = query.TOK_OP_GT
- TOK_OP_PIPE = query.TOK_OP_PIPE
- TOK_OP_ARG = query.TOK_OP_ARG
TOK_CAT_TITLE = query.TOK_CAT_TITLE
TOK_CAT_AUTHOR = query.TOK_CAT_AUTHOR
TOK_CAT_DATE = query.TOK_CAT_DATE