Change the interface of SetModTime to return an error - #348
This commit is contained in:
parent
f469905d07
commit
414b35ea56
12 changed files with 39 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue