Change the interface of SetModTime to return an error - #348

This commit is contained in:
Nick Craig-Wood 2016-03-22 15:07:10 +00:00
parent f469905d07
commit 414b35ea56
12 changed files with 39 additions and 53 deletions

View file

@ -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