SetModTime sets the metadata on the object to set the modification date
(ctx context.Context, modTime time.Time)
| 280 | |
| 281 | // SetModTime sets the metadata on the object to set the modification date |
| 282 | func (o *MemoryObject) SetModTime(ctx context.Context, modTime time.Time) error { |
| 283 | o.modTime = modTime |
| 284 | return nil |
| 285 | } |
| 286 | |
| 287 | // Open opens the file for read. Call Close() on the returned io.ReadCloser |
| 288 | func (o *MemoryObject) Open(ctx context.Context, options ...fs.OpenOption) (io.ReadCloser, error) { |
no outgoing calls