Length iterates over the mutation layer and counts number of elements.
(readTs, afterUid uint64)
| 1338 | |
| 1339 | // Length iterates over the mutation layer and counts number of elements. |
| 1340 | func (l *List) Length(readTs, afterUid uint64) int { |
| 1341 | l.RLock() |
| 1342 | defer l.RUnlock() |
| 1343 | return l.length(readTs, afterUid) |
| 1344 | } |
| 1345 | |
| 1346 | // Rollup performs the rollup process, merging the immutable and mutable layers |
| 1347 | // and outputting the resulting list so it can be written to disk. |