rclone/vfs
Nick Craig-Wood 2b7957cc74 vfs: Only make the VFS cache if --vfs-cache-mode > Off
This stops the cache cleaner running unnecessarily and saves
resources.

This also helps with issue #2227 which was caused by a second mount
deleting objects in the first mounts cache.
2018-04-16 17:06:41 +01:00
..
vfsflags Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
cache_test.go Replace "golang.org/x/net/context" with "context" for go1.7+ #2154 2018-04-07 11:42:08 +01:00
cache.go Replace "golang.org/x/net/context" with "context" for go1.7+ #2154 2018-04-07 11:42:08 +01:00
dir_handle_test.go vfs: add tests and subsequent fixes 2017-11-04 10:24:10 +00:00
dir_handle.go vfs: factor duplicated Open code into vfs from mount/cmount 2017-11-03 13:00:00 +00:00
dir_test.go fs: add ChangeNotify and backend support for it (#2094) 2018-03-08 22:03:34 +02:00
dir.go fs: add ChangeNotify and backend support for it (#2094) 2018-03-08 22:03:34 +02:00
errors_new.go vfs: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
errors_old.go vfs: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
errors_test.go vfs: add tests and subsequent fixes 2017-11-04 10:24:10 +00:00
errors.go vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC 2018-02-26 17:04:27 +00:00
file_test.go vfs: make specialized file Open functions private 2018-01-19 11:46:01 +00:00
file.go vfs: Only make the VFS cache if --vfs-cache-mode > Off 2018-04-16 17:06:41 +01:00
help.go vfs: add remote control for directory cache flushing 2018-03-17 10:34:02 +00:00
make_open_tests.go vfs: make sure all 96 combinations of flags for Open work 2017-11-28 20:39:23 +00:00
open_test.go vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC 2018-02-26 17:04:27 +00:00
rc.go vfs: add remote control for directory cache flushing 2018-03-17 10:34:02 +00:00
read_test.go Use io.SeekStart/End/Current constants now for go1.7+ #2154 2018-04-07 11:42:36 +01:00
read_write_test.go vfs: Only make the VFS cache if --vfs-cache-mode > Off 2018-04-16 17:06:41 +01:00
read_write.go vfs: unify locking for RWFileHandle.openPending,.close and File.Delete #2141 2018-03-15 20:49:07 +00:00
read.go Use io.SeekStart/End/Current constants now for go1.7+ #2154 2018-04-07 11:42:36 +01:00
vfs_test.go Use io.SeekStart/End/Current constants now for go1.7+ #2154 2018-04-07 11:42:36 +01:00
vfs.go vfs: Only make the VFS cache if --vfs-cache-mode > Off 2018-04-16 17:06:41 +01:00
write_test.go vfs: fix applying modtime for an open Write Handle 2018-03-06 21:58:11 +00:00
write.go vfs: fix applying modtime for an open Write Handle 2018-03-06 21:58:11 +00:00