MCPcopy
hub / github.com/rclone/rclone / Size

Method Size

backend/s3/s3.go:3969–3971  ·  view source on GitHub ↗

Size returns the size of an object in bytes

()

Source from the content-addressed store, hash-verified

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

Callers 1

InternalTestVersionsMethod · 0.95

Calls

no outgoing calls

Tested by 1

InternalTestVersionsMethod · 0.76