This version introduces the List{Offline,Online,Possible,Present} functions (currently only implemented for Linux) which return a list of offline, online, possible or present CPUs, respectively.
What's Changed
- .github: Bump actions/checkout from 4.1.3 to 4.1.4 by @dependabot in https://github.com/tklauser/numcpus/pull/82
- Check that last ≥ first in parseCPURange by @tklauser in https://github.com/tklauser/numcpus/pull/83
- .github: Bump actions/setup-go from 5.0.0 to 5.0.1 by @dependabot in https://github.com/tklauser/numcpus/pull/84
- go.mod: bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in https://github.com/tklauser/numcpus/pull/85
- .github: Bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot in https://github.com/tklauser/numcpus/pull/86
- .github: Bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot in https://github.com/tklauser/numcpus/pull/87
- .github: drop macos-11 runner by @tklauser in https://github.com/tklauser/numcpus/pull/88
- Implement
List{Offline,Online,Possible,Present}functions on Linux by @tklauser in https://github.com/tklauser/numcpus/pull/89 - Simplify listCPURange implementation by @tklauser in https://github.com/tklauser/numcpus/pull/90
- .github: Bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in https://github.com/tklauser/numcpus/pull/92
- go.mod: bump golang.org/x/sys from 0.20.0 to 0.23.0 by @dependabot in https://github.com/tklauser/numcpus/pull/94
- .cirrus.yml: update Go to 1.22.5, FreeBSD to 1.13.3 by @tklauser in https://github.com/tklauser/numcpus/pull/95
- .github: Bump actions/setup-go from 5.0.1 to 5.0.2 by @dependabot in https://github.com/tklauser/numcpus/pull/96
- go.mod: bump golang.org/x/sys from 0.23.0 to 0.24.0 by @dependabot in https://github.com/tklauser/numcpus/pull/97
- ci: update Go to 1.23 by @tklauser in https://github.com/tklauser/numcpus/pull/98
- go.mod: bump golang.org/x/sys from 0.24.0 to 0.25.0 by @dependabot in https://github.com/tklauser/numcpus/pull/99
- .github: Bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in https://github.com/tklauser/numcpus/pull/100
- Don't skip testNumAndList if Get* fails or isn't supported by @tklauser in https://github.com/tklauser/numcpus/pull/101
Full Changelog: https://github.com/tklauser/numcpus/compare/v0.8.0...v0.9.0