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

mlange-42 / arche / 7521885675
100%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2024 09:44PM UTC
Jobs 1
Files 31
Run time 3s
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

14 Jan 2024 09:44PM UTC coverage: 100.0%. Remained the same
7521885675

push

github

web-flow
IDs are opaque types (#330)

Component and resource IDs are now opaque types instead of type aliases for `uint8`

This makes it (almost) impossible to create invalid IDs. The only way is to use IDs obtained from a different world.

Before, it was possible to create invalid IDs like this: `ID(42)`, `ResID(42)`. Now, they can only be obtained from a World with `ecs.ComponentID(*World)` and `ecs.ResourceID(*World)`.

# Commits

* rework package ecs to work with opaque IDs for components and resources
* use IDs ask mask setter and getter arguments
* rework packages filter and generic
* Add getters for all component and resource IDs
* update changelog
* minor code cleanup

4936 of 4936 relevant lines covered (100.0%)

64738.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7521885675.1 14 Jan 2024 09:44PM UTC 31
100.0
GitHub Action Run
Source Files on build 7521885675
  • Tree
  • List 31
  • Changed 19
  • Source Changed 14
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7521885675
  • 62e421a9 on github
  • Prev Build on main (#7515952855)
  • Next Build on main (#7528343499)
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