• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

minetest-go / mtdb / 7014852901 / 1
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2023 06:05AM UTC
Files 19
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Nov 2023 06:04AM UTC coverage: 82.158% (+0.8%) from 81.322%
7014852901.1

push

github

web-flow
feat: implement block iterator (#56)

* fix: sorry, too many connections.

database/Sql.Rows.Close() should be called as it is
a safe to call and idempotent; not calling it will keep the
underlying connection open.

Added an integration test to reproduce the issue
and a fix to it.

Fixes #53

* feat: implement block iterator for map data.

The iterator returns a go channel to allow for
concurrent access over all the data in the map,
skipping any non-existing blocks.

Fix #55

* refactor: renamed to AsBlockPos.

* testing: added error handling for iterator.

Fixed an infinite loop/invalid results returned by
the Iterator if database/data is corrupted.

* feature: allow early-stopping the iterator.

Implemented the Closer type and methods to allow
for callers to early stop the iteretor when they're done.

944 of 1149 relevant lines covered (82.16%)

0.87 hits per line

Source Files on job 7014852901.1
  • Tree
  • List 19
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7014852901
  • 990b478a on github
  • Prev Job for on master (#6604710101.1)
  • Next Job for on master (#7051694704.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc