mirror of
https://github.com/rclone/rclone.git
synced 2024-12-30 19:08:58 +01:00
2aed3bf9ab
Roll back the bazil.org/fuse update to give us some time to explore alternatives for macOS. See upstream issue: https://github.com/bazil/fuse/issues/224
41 lines
751 B
Go
41 lines
751 B
Go
package fuse
|
|
|
|
func localVolume(conf *mountConfig) error {
|
|
conf.options["local"] = ""
|
|
return nil
|
|
}
|
|
|
|
func volumeName(name string) MountOption {
|
|
return func(conf *mountConfig) error {
|
|
conf.options["volname"] = name
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func daemonTimeout(name string) MountOption {
|
|
return func(conf *mountConfig) error {
|
|
conf.options["daemon_timeout"] = name
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func noAppleXattr(conf *mountConfig) error {
|
|
conf.options["noapplexattr"] = ""
|
|
return nil
|
|
}
|
|
|
|
func noAppleDouble(conf *mountConfig) error {
|
|
conf.options["noappledouble"] = ""
|
|
return nil
|
|
}
|
|
|
|
func exclCreate(conf *mountConfig) error {
|
|
conf.options["excl_create"] = ""
|
|
return nil
|
|
}
|
|
|
|
func noBrowse(conf *mountConfig) error {
|
|
conf.options["nobrowse"] = ""
|
|
return nil
|
|
}
|