1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00

cmount: send a hint as to whether the filesystem is case insensitive or not

This commit is contained in:
Nick Craig-Wood 2020-05-01 18:35:32 +01:00
parent d260238f99
commit 69888bf966

View File

@ -152,6 +152,7 @@ func mount(f fs.Fs, mountpoint string) (*vfs.VFS, <-chan error, func() error, er
if usingReaddirPlus {
host.SetCapReaddirPlus(true)
}
host.SetCapCaseInsensitive(f.Features().CaseInsensitive)
// Create options
options := mountOptions(f.Name()+":"+f.Root(), mountpoint)