rclone/vfs
Nick Craig-Wood 9252224d82 vfs: don't open the file when using a RW handle for a null Seek
Background: cmd/mount/file.go Open() function does a Seek(0, 1) to see
if the file handle is seekable to set a FUSE hint.  Before this change
the file was downloaded before it needed to be which was inefficient
(and broke beta.rclone.org because HEAD requests caused downloads!).
2018-02-22 17:28:21 +00:00
..
vfsflags Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
cache_test.go vfs: disable cache cleaner if --vfs-cache-poll-interval=0 2018-02-16 14:12:46 +00:00
cache.go vfs: disable cache cleaner if --vfs-cache-poll-interval=0 2018-02-16 14:12:46 +00: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 vfs: add flags parameter to Dir.Create 2018-01-19 13:18:40 +00:00
dir.go vfs: add flags parameter to Dir.Create 2018-01-19 13:18:40 +00: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: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
file_test.go vfs: make specialized file Open functions private 2018-01-19 11:46:01 +00:00
file.go vfs: fix race between multiple RWFileHandle (#2052) 2018-02-18 14:12:26 +01:00
help.go vfs: fix docs - fixes #2067 2018-02-12 11:29:32 +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 sure all 96 combinations of flags for Open work 2017-11-28 20:39:23 +00:00
read_test.go vfs: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
read_write_test.go vfs: don't open the file when using a RW handle for a null Seek 2018-02-22 17:28:21 +00:00
read_write.go vfs: don't open the file when using a RW handle for a null Seek 2018-02-22 17:28:21 +00:00
read.go vfs: make -ve sized files appear as 0 size. #320 2018-01-31 16:22:05 +00:00
vfs_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00
vfs.go vfs: downgrade "poll-interval is not supported" message to Info 2018-02-09 07:57:50 +00:00
write_test.go vfs: write 0 bytes when flushing unwritten handles to avoid race conditions in FUSE - fixes #1181 2018-02-11 17:59:13 +00:00
write.go vfs: fix race between multiple RWFileHandle (#2052) 2018-02-18 14:12:26 +01:00