mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 23:28:57 +01:00
6a86ec70ea
Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
45 lines
816 B
Go
45 lines
816 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
|
|
}
|
|
|
|
func maxPages(count uint16) MountOption {
|
|
return dummyOption
|
|
}
|