|
Ran
|
Jobs
1
|
Files
23
|
Run time
2s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/couchbase/moss/commit/<a class=hub.com/couchbase/moss/commit/807463d607f2ad1024b5f3c5b45bccadfb833671">807463d60<a href="https://github.com/couchbase/moss/commit/807463d607f2ad1024b5f3c5b45bccadfb833671">">update Segment interface to allow for different implementations Previously methods assumed an integer offset could be used to interact with elements in the segment. Now the keys are used directly to describe the operations. Removed: FindKeyPos(key []byte) FindStartKeyInclusivePos(startKeyInclusive []byte) GetOperationKeyVal(pos int) Added: Get(key []byte) Cursor(startKeyInclusive []byte, endKeyExclusive []byte) Cursor returns a new SegmentCursor inteface with methods: Current() Next() Seek(startKeyInclusive []byte) Get(key []byte) (operation uint64, val []byte, error) Change-Id: I</a><a class="double-link" href="https://github.com/couchbase/moss/commit/<a class="double-link" href="https://github.com/couchbase/moss/commit/7013c721cf67fc71967ac86bae806b5f1fc710f5">7013c721c</a>">7013c721c</a><a href="https://github.com/couchbase/moss/commit/807463d607f2ad1024b5f3c5b45bccadfb833671"> Reviewed-on: http://review.couchbase.org/75744 Reviewed-by: Steve Yen <steve.yen@gmail.com> Tested-by: Marty Schoch <marty.schoch@gmail.com>
88 of 88 new or added lines in 5 files covered. (100.0%)
2813 of 3420 relevant lines covered (82.25%)
12572.89 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
100.0 |
segment_stack_merge.go | |
| 2 |
100.0 |
segment_stack.go | |
| 3 |
100.0 |
iterator.go | |
| 3 |
100.0 |
iterator_single.go | |
| 4 |
100.0 |
segment.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
100.0 |
segment_stack_merge.go | |
| 1 |
100.0 |
iterator.go | |
| 2 |
100.0 |
iterator_single.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 212.1 | 0 |
82.25 |
Travis Job 212.1 |