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

Method split

backend/googlecloudstorage/googlecloudstorage.go:513–515  ·  view source on GitHub ↗

split returns bucket and bucketPath from the object

()

Source from the content-addressed store, hash-verified

511
512// split returns bucket and bucketPath from the object
513func (o *Object) split() (bucket, bucketPath string) {
514 return o.fs.split(o.remote)
515}
516
517func getServiceAccountClient(ctx context.Context, credentialsData []byte) (*http.Client, error) {
518 conf, err := google.JWTConfigFromJSON(credentialsData, storageConfig.Scopes...)

Callers 4

readObjectInfoMethod · 0.95
SetModTimeMethod · 0.95
UpdateMethod · 0.95
RemoveMethod · 0.95

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected