clone

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(ctx context.Context, source_bucket *gc_blob.Bucket, source_uri string, target_bucket *gc_blob.Bucket, target_uri string) error

Clone copies 'source_uri' from 'source_bucket' to 'target_uri' in 'target_bucket'.

func CloneFS added in v0.0.15

func CloneFS(ctx context.Context, to_clone fs.FS, target_bucket *blob.Bucket, wr_opts *blob.WriterOptions) error

CloneFS will opy the contents of `to_clone' to 'target_bucket'.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL