From 173e5056ef8beaa461c5a6665b75e1d97503c5ac Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 19 Nov 2026 21:14:58 +0100 Subject: go.mod: upgrade to go-fuse v3 (current master 1ffd5bd2bfc64) 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 --- build.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.bash') diff --git a/build.bash b/build.bash index 4623a4f..ddc7aff 100755 --- a/build.bash +++ b/build.bash @@ -43,7 +43,7 @@ if [[ -d vendor/github.com/hanwen/go-fuse ]] ; then else # go-fuse version according to Go Modules FAIL=0 - OUT=$(go list -m github.com/hanwen/go-fuse/v2 | cut -d' ' -f2-) || FAIL=1 + OUT=$(go list -m github.com/hanwen/go-fuse/v3 | cut -d' ' -f2-) || FAIL=1 if [[ $FAIL -eq 0 ]]; then GITVERSIONFUSE=$OUT else -- cgit v1.2.3