go-fuse
go-fuse copied to clipboard
support Windows through dokany or winfsp
Looking for a good cross-platform FUSE library that will also build with Go on Windows.
Will this one build on Windows? Thanks
After importing the library and then trying to build, I get these errors:
go build example/hello/main.go
# github.com/hanwen/go-fuse/v2/fuse
fuse\types.go:557:2: undefined: Attr
fuse\types.go:585:2: undefined: Attr
fuse\api.go:285:41: undefined: GetAttrIn
fuse\api.go:286:41: undefined: SetAttrIn
fuse\api.go:289:39: undefined: MknodIn
fuse\api.go:313:42: undefined: SetXAttrIn
fuse\api.go:319:40: undefined: CreateIn
fuse\api.go:321:38: undefined: ReadIn
fuse\api.go:330:39: undefined: WriteIn
fuse\api.go:339:41: undefined: ReadIn
fuse\api.go:339:41: too many errors
AFAIK, FUSE doesn't exist on windows. Why would you try to build it on windows?
I found
https://github.com/winfsp/cgofuse
and Dokany is supposed to have a wrapper for FUSE as well
https://github.com/dokan-dev/dokany
but have not tried it yet.
I don't use windows. If you can get go-fuse to work with dokany or winfsp, I'm happy to review contributions.