mountinfo/v0.5.0
Potentially breaking changes
- Go versions < 1.16 are no longer supported
Mounted
: in case the argument does not exist, it now returns an appropriate error. Previously, this condition was treated as "not a mount point", with no error returned, but in fact such path could be an unreachable mount point (overshadowed by another mount). In case callers are not interested in such error, they should filter it out, e.g.if !errors.Is(err, os.IsNotExist)
.
What's Changed
- Drop go < 1.16 compatibility by @kolyshkin in #89
- mountinfo.Mounted(): fix by @kolyshkin in #90
- mountinfo: support darwin build by @thehajime in #85
- mountinfo.Mounted: fix docs, add more test by @kolyshkin in #86
- linting: do not capitalize errors by @thaJeztah in #75
- mountinfo: rewrite more tests to use a test-table by @thaJeztah in #82
- mountinfo: GetMountsFromReader(): use strings.SplitN() by @thaJeztah in #76
- mountinfo: GetMountsFromReader(): remove redundant switch, fix dropped "optional" fields by @thaJeztah in #81
- Test fixes by @kolyshkin in #87
- CI: add more linters by @kolyshkin in #92
- ci: bump Fedora to 35 by @kolyshkin in #93
- CI: update Vagrant to Fedora 34 by @thaJeztah in #80
- lint: update golangci-lint to v1.41.1 by @thaJeztah in #79
New Contributors
- @thehajime made their first contribution in #85
Full Changelog: mountinfo/v0.4.1...mountinfo/v0.5.0