(ctx context.Context)
| 3971 | } |
| 3972 | |
| 3973 | func (o *Object) headObject(ctx context.Context) (resp *s3.HeadObjectOutput, err error) { |
| 3974 | bucket, bucketPath := o.split() |
| 3975 | req := s3.HeadObjectInput{ |
| 3976 | Bucket: &bucket, |
| 3977 | Key: &bucketPath, |
| 3978 | VersionId: o.versionID, |
| 3979 | } |
| 3980 | return o.fs.headObject(ctx, &req) |
| 3981 | } |
| 3982 | |
| 3983 | func (f *Fs) headObject(ctx context.Context, req *s3.HeadObjectInput) (resp *s3.HeadObjectOutput, err error) { |
| 3984 | if f.opt.RequesterPays { |
no test coverage detected