FerretDB / wire

Apache License 2.0
2 stars 3 forks source link

Add sorting helper method to Array #37

Closed AlekSi closed 3 weeks ago

codecov-commenter commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.31%. Comparing base (79fba9f) to head (2af7bf8). Report is 2 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/FerretDB/wire/pull/37/graphs/tree.svg?width=650&height=150&src=pr&token=D0L283UZ26&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB)](https://app.codecov.io/gh/FerretDB/wire/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB) ```diff @@ Coverage Diff @@ ## main #37 +/- ## ========================================== + Coverage 64.88% 65.31% +0.42% ========================================== Files 40 41 +1 Lines 1737 1747 +10 ========================================== + Hits 1127 1141 +14 + Misses 444 439 -5 - Partials 166 167 +1 ``` | [Files with missing lines](https://app.codecov.io/gh/FerretDB/wire/pull/37?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB) | Coverage Δ | | |---|---|---| | [wirebson/array.go](https://app.codecov.io/gh/FerretDB/wire/pull/37?src=pr&el=tree&filepath=wirebson%2Farray.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB#diff-d2lyZWJzb24vYXJyYXkuZ28=) | `63.15% <100.00%> (+10.32%)` | :arrow_up: | | [wirebson/array\_sort.go](https://app.codecov.io/gh/FerretDB/wire/pull/37?src=pr&el=tree&filepath=wirebson%2Farray_sort.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB#diff-d2lyZWJzb24vYXJyYXlfc29ydC5nbw==) | `100.00% <100.00%> (ø)` | | | [wirebson/bson.go](https://app.codecov.io/gh/FerretDB/wire/pull/37?src=pr&el=tree&filepath=wirebson%2Fbson.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB#diff-d2lyZWJzb24vYnNvbi5nbw==) | `89.47% <100.00%> (-1.01%)` | :arrow_down: | | [wirebson/document.go](https://app.codecov.io/gh/FerretDB/wire/pull/37?src=pr&el=tree&filepath=wirebson%2Fdocument.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB#diff-d2lyZWJzb24vZG9jdW1lbnQuZ28=) | `44.44% <ø> (ø)` | | | [Flag](https://app.codecov.io/gh/FerretDB/wire/pull/37/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB) | Coverage Δ | | |---|---|---| | [test](https://app.codecov.io/gh/FerretDB/wire/pull/37/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB) | `65.31% <100.00%> (+0.42%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FerretDB#carryforward-flags-in-the-pull-request-comment) to find out more.