mirror of
https://github.com/rclone/rclone.git
synced 2025-08-17 09:01:33 +02:00
This will enable rclone to manage directories properly in the future.
This commit is contained in:
4
fs/fs.go
4
fs/fs.go
@ -135,12 +135,12 @@ type Fs interface {
|
||||
// Mkdir makes the directory (container, bucket)
|
||||
//
|
||||
// Shouldn't return an error if it already exists
|
||||
Mkdir() error
|
||||
Mkdir(dir string) error
|
||||
|
||||
// Rmdir removes the directory (container, bucket) if empty
|
||||
//
|
||||
// Return an error if it doesn't exist or isn't empty
|
||||
Rmdir() error
|
||||
Rmdir(dir string) error
|
||||
}
|
||||
|
||||
// Info provides an interface to reading information about a filesystem.
|
||||
|
Reference in New Issue
Block a user