mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-05-25 11:10:20 +00:00
Add comments
This commit is contained in:
@@ -169,6 +169,7 @@ func (cm *CompactMap) binarySearchCompactSection(key Key) int {
|
||||
return -3
|
||||
}
|
||||
|
||||
// Visit visits all entries or stop if any error when visiting
|
||||
func (cm *CompactMap) Visit(visit func(NeedleValue) error) error {
|
||||
for _, cs := range cm.list {
|
||||
for _, v := range cs.overflow {
|
||||
|
||||
Reference in New Issue
Block a user