diff options
| author | 2026-04-02 06:23:30 +0000 | |
|---|---|---|
| committer | 2026-04-02 06:28:39 +0000 | |
| commit | a041d523de389b65b98a5373a8034041db2a8d83 (patch) | |
| tree | 7b423dc735f463be616045f2c3c2095a7737aca7 /commitquery/query_has_marks.go | |
| parent | research: Add dynamic pack resources (diff) | |
| signature | No signature | |
*: Remove
Diffstat (limited to 'commitquery/query_has_marks.go')
| -rw-r--r-- | commitquery/query_has_marks.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/commitquery/query_has_marks.go b/commitquery/query_has_marks.go deleted file mode 100644 index 22f44bd4..00000000 --- a/commitquery/query_has_marks.go +++ /dev/null @@ -1,11 +0,0 @@ -package commitquery - -// hasAnyMarks reports whether one internal node has any requested bit. -func (query *query) hasAnyMarks(idx nodeIndex, bits markBits) bool { - return query.nodes[idx].marks&bits != 0 -} - -// hasAllMarks reports whether one internal node already has all requested bits. -func (query *query) hasAllMarks(idx nodeIndex, bits markBits) bool { - return query.nodes[idx].marks&bits == bits -} |
