aboutsummaryrefslogtreecommitdiff
path: root/version.go
AgeCommit message (Collapse)Author
5 hoursgo.mod: upgrade to go-fuse v3 (current master 1ffd5bd2bfc64)HEADmasterJakob Unterwurzacher
go-fuse master is now github.com/hanwen/go-fuse/v3. Changes needed: * Change the import path, also in build.bash and version.go, which look up the go-fuse module version. * fuse.Context is gone, and fuse.FromContext() now returns a fuse.Caller value. Caller has the same Owner and Pid fields, so use *fuse.Caller in place of *fuse.Context. * fuse.Status is replaced by syscall.Errno, so ReadResult.Bytes() returns an Errno now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2022-12-29main: BuildInfo: fix build with Go 1.17 and olderJakob Unterwurzacher
On Go 1.17 and older we get this: Error: ./version.go:67:24: info.Settings undefined (type *debug.BuildInfo has no field or method Settings) Fix the build error by shedding some nice-to-have features.
2022-12-29main: refactor BuildInfo codeJakob Unterwurzacher
Simplify and move it into a new file version.go.