From edf87473ee40262d7f28f4d30c7cf34849f3baac Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 21:53:07 -0500 Subject: [PATCH] Unexport Row.ClearBit --- fragment.go | 2 +- row.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fragment.go b/fragment.go index 1ae3c5bb3..99b107a91 100644 --- a/fragment.go +++ b/fragment.go @@ -446,7 +446,7 @@ func (f *fragment) unprotectedClearBit(rowID, columnID uint64) (changed bool, er // Get the row from cache or fragment.storage. row := f.unprotectedRow(rowID, true, true) - row.ClearBit(columnID) + row.clearBit(columnID) // Update the cache. f.cache.Add(rowID, row.Count()) diff --git a/row.go b/row.go index d6a0037cc..06b116fb0 100644 --- a/row.go +++ b/row.go @@ -159,8 +159,8 @@ func (r *Row) SetBit(i uint64) (changed bool) { return r.createSegmentIfNotExists(i / ShardWidth).SetBit(i) } -// ClearBit clears the i-th column of the row. -func (r *Row) ClearBit(i uint64) (changed bool) { +// clearBit clears the i-th column of the row. +func (r *Row) clearBit(i uint64) (changed bool) { s := r.segment(i / ShardWidth) if s == nil { return false