MCPcopy Index your code
hub / github.com/rclone/rclone / readObjectInfo

Method readObjectInfo

backend/googlecloudstorage/googlecloudstorage.go:1281–1284  ·  view source on GitHub ↗

readObjectInfo reads the definition for an object

(ctx context.Context)

Source from the content-addressed store, hash-verified

1279
1280// readObjectInfo reads the definition for an object
1281func (o *Object) readObjectInfo(ctx context.Context) (object *storage.Object, err error) {
1282 bucket, bucketPath := o.split()
1283 return o.fs.readObjectInfo(ctx, bucket, bucketPath)
1284}
1285
1286// readObjectInfo reads the definition for an object
1287func (f *Fs) readObjectInfo(ctx context.Context, bucket, bucketPath string) (object *storage.Object, err error) {

Callers 3

createDirectoryMarkerMethod · 0.95
readMetaDataMethod · 0.95
SetModTimeMethod · 0.95

Calls 2

splitMethod · 0.95
readObjectInfoMethod · 0.45

Tested by

no test coverage detected