bufformat

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatBucket added in v1.32.0

func FormatBucket(ctx context.Context, bucket storage.ReadBucket) (_ storage.ReadBucket, retErr error)

FormatBucket formats the .proto files in the bucket and returns a new bucket with the formatted files.

func FormatFileNode added in v1.28.0

func FormatFileNode(dest io.Writer, fileNode *ast.FileNode) error

FormatFileNode formats the given file node and writ the result to dest.

func FormatModuleSet added in v1.32.0

func FormatModuleSet(ctx context.Context, moduleSet bufmodule.ModuleSet) (_ storage.ReadBucket, retErr error)

FormatModuleSet formats and writes the target files into a read bucket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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