Back to godoc.org

Package storageproto

v0.20.5
Latest Go to latest

The latest major version is .

Published: Jul 24, 2020 | License: Apache-2.0 | Module: github.com/bufbuild/buf

Index

func FromFileSet

func FromFileSet(
	ctx context.Context,
	fileSet *storagev1.FileSet,
	writeBucket storage.WriteBucket,
) error

FromFileSet copies the FileSet to the WriteBucket.

func ToFileSet

func ToFileSet(
	ctx context.Context,
	readBucket storage.ReadBucket,
) (*storagev1.FileSet, error)

ToFileSet copies the ReadBucket to the FileSet.

Copies done concurrently. Returns a validated FileSet.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier