SetModTime sets the modification time of the file
(ctx context.Context, mtime time.Time)
| 2128 | |
| 2129 | // SetModTime sets the modification time of the file |
| 2130 | func (o *Object) SetModTime(ctx context.Context, mtime time.Time) error { |
| 2131 | if err := o.readMetadata(ctx); err != nil { |
| 2132 | return err // refuse to act on unsupported format |
| 2133 | } |
| 2134 | return o.mainChunk().SetModTime(ctx, mtime) |
| 2135 | } |
| 2136 | |
| 2137 | // Hash returns the selected checksum of the file. |
| 2138 | // If no checksum is available it returns "". |
nothing calls this directly
no test coverage detected