From 6b5401914813664706ddee9d7645e349f61882e8 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 27 Oct 2020 20:51:27 +0300 Subject: [PATCH] [#182] v2/object: Define boolean property values Signed-off-by: Leonard Lyubich --- v2/object/filters.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/v2/object/filters.go b/v2/object/filters.go index 24209afb..a9eecbe2 100644 --- a/v2/object/filters.go +++ b/v2/object/filters.go @@ -42,3 +42,11 @@ const ( // FilterPropertyChildfree is a filter key to check if an object has empty children list in `Split` header. FilterPropertyChildfree = ReservedFilterPrefix + "CHILDFREE" ) + +const ( + // BooleanPropertyValueTrue is a true value for boolean property filters. + BooleanPropertyValueTrue = "true" + + // BooleanPropertyValueFalse is a false value for boolean property filters. + BooleanPropertyValueFalse = "" +)