Size returns the size of an object in bytes
()
| 3967 | |
| 3968 | // Size returns the size of an object in bytes |
| 3969 | func (o *Object) Size() int64 { |
| 3970 | return o.bytes |
| 3971 | } |
| 3972 | |
| 3973 | func (o *Object) headObject(ctx context.Context) (resp *s3.HeadObjectOutput, err error) { |
| 3974 | bucket, bucketPath := o.split() |
no outgoing calls