mirror of
https://github.com/rclone/rclone.git
synced 2025-07-01 04:50:12 +02:00
Change the interface of SetModTime to return an error - #348
This commit is contained in:
@ -745,9 +745,9 @@ func (o *Object) ModTime() time.Time {
|
||||
}
|
||||
|
||||
// SetModTime sets the modification time of the local fs object
|
||||
func (o *Object) SetModTime(modTime time.Time) {
|
||||
func (o *Object) SetModTime(modTime time.Time) error {
|
||||
// FIXME not implemented
|
||||
return
|
||||
return fs.ErrorCantSetModTime
|
||||
}
|
||||
|
||||
// Storable returns a boolean showing whether this object storable
|
||||
|
Reference in New Issue
Block a user