package
1.64.0-Personal
Repository: https://github.com/dceldran/rclone.git
Documentation: pkg.go.dev

# Functions

FIXMETestWriteOpenFileInDirListing tests open file in directory listing.
RunTests runs all the tests against all the VFS cache modes If useVFS is set then it runs the tests against a VFS rather than a mount If useVFS is not set then it runs the mount in a subprocess in order to avoid kernel deadlocks.
TestDirCacheFlush tests flushing the dir cache.
TestDirCacheFlushOnDirRename tests flushing the dir cache on rename.
TestDirCreateAndRemoveDir tests creating and removing a directory.
TestDirCreateAndRemoveFile tests creating and removing a file.
TestDirLs checks out listing.
TestDirModTime tests mod times.
TestDirRenameEmptyDir tests renaming and empty directory.
TestDirRenameFile tests renaming a file.
TestDirRenameFullDir tests renaming a full directory.
TestFileModTime tests mod times on files.
TestFileModTimeWithOpenWriters tests mod time on open files.
TestMount checks that the Fs is mounted by seeing if the mountpoint is in the mount output.
TestReadByByte reads by byte including don't read any bytes.
TestReadChecksum checks the checksum reading is working.
TestReadFileDoubleClose tests double close on read.
TestReadSeek test seeking.
TestRenameOpenHandle checks that a file with open writers is successfully renamed after all writers close.
TestRoot checks root directory is present and correct.
TestTouchAndDelete checks that writing a zero byte file and immediately deleting it is not racy.
TestWriteFileAppend tests that O_APPEND works on cache backends >= writes.
TestWriteFileDoubleClose tests double close on write.
TestWriteFileDup tests behavior of mmap() in Python by using dup() on a file handle.
TestWriteFileFsync tests Fsync NB the code for this is in file.go rather than write.go.
TestWriteFileNoWrite tests writing a file with no write()'s to it.
TestWriteFileOverwrite tests overwriting a file.
TestWriteFileWrite tests writing a file and reading it back.

# Structs

Run holds the remotes for a test run.

# Interfaces

Oser defines the things that the "os" package can do This covers what the VFS can do also.