(_ core.BucketId, entry *core.Entry)
| 384 | } |
| 385 | |
| 386 | func (tx *Tx) getSetEntryNewAddRecordCount(_ core.BucketId, entry *core.Entry) (int64, error) { |
| 387 | var res int64 |
| 388 | |
| 389 | if entry.Meta.Flag == DataDeleteFlag { |
| 390 | res-- |
| 391 | } |
| 392 | |
| 393 | if entry.Meta.Flag == DataSetFlag { |
| 394 | res++ |
| 395 | } |
| 396 | |
| 397 | return res, nil |
| 398 | } |
| 399 | |
| 400 | func (tx *Tx) getSortedSetEntryNewAddRecordCount(bucketId core.BucketId, entry *core.Entry) (int64, error) { |
| 401 | var res int64 |
no outgoing calls
no test coverage detected