From d10445813c257bfd4c84f29ef72f7b07c74e1250 Mon Sep 17 00:00:00 2001 From: Alessio Date: Thu, 17 Aug 2023 16:12:10 -0300 Subject: [PATCH] Add helper IsEnd function --- pkg/persistence/compound_ssf_queries.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/persistence/compound_ssf_queries.go b/pkg/persistence/compound_ssf_queries.go index 15e4b92..57bbf42 100644 --- a/pkg/persistence/compound_ssf_queries.go +++ b/pkg/persistence/compound_ssf_queries.go @@ -73,6 +73,10 @@ const ( CURSOR_END ) +func (c CursorPosition) IsEnd() bool { + return c == CURSOR_END +} + // Whether to require, exclude, or indifferent a type of content type Filter int