Make tests for each Fs

Factor tests out of rclonetest
This commit is contained in:
Nick Craig-Wood
2014-07-24 23:13:32 +01:00
parent 02d50f8c6e
commit a5b0d88608
11 changed files with 851 additions and 185 deletions
+4
View File
@@ -79,9 +79,13 @@ type Fs interface {
Put(in io.Reader, remote string, modTime time.Time, size int64) (Object, error)
// Make the directory (container, bucket)
//
// Shouldn't return an error if it already exists
Mkdir() error
// Remove the directory (container, bucket) if empty
//
// Return an error if it doesn't exists or isn't empty
Rmdir() error
// Precision of the ModTimes in this Fs