mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
Make ContentType be preserved for cloud -> cloud copies - fixes #733
This commit is contained in:
7
fs/fs.go
7
fs/fs.go
@@ -210,6 +210,13 @@ type BasicInfo interface {
|
||||
Size() int64
|
||||
}
|
||||
|
||||
// MimeTyper is an optional interface for Object
|
||||
type MimeTyper interface {
|
||||
// MimeType returns the content type of the Object if
|
||||
// known, or "" if not
|
||||
MimeType() string
|
||||
}
|
||||
|
||||
// Purger is an optional interfaces for Fs
|
||||
type Purger interface {
|
||||
// Purge all files in the root and the root directory
|
||||
|
||||
Reference in New Issue
Block a user