// Mount unmounts a file system.
func (host *FileSystemHost) Unmount() {
if nil != host.fuse {
C.fuse_exit(host.fuse)
}
}
However according to the fuse docs fuse_exit just stops the event loop, it doesn't do an unmount.
So this method should probably be renamed "Stop" or something like that.
An Unmount method would be really useful though. Here is how bazil/fuse does it for linux and everyone else. I'm guessing a different procedure would be needed for Windows.
From host.go
However according to the fuse docs fuse_exit just stops the event loop, it doesn't do an unmount.
So this method should probably be renamed "Stop" or something like that.
An Unmount method would be really useful though. Here is how bazil/fuse does it for linux and everyone else. I'm guessing a different procedure would be needed for Windows.