package
0.0.2
Repository: https://github.com/alis-exchange/buf.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ModuleDigestB3 returns the b3 digest for the Module.
ModuleToBucket writes the given Module to the WriteBucket.
ModuleToProtoModule converts the Module to a proto Module.
ModuleWithExcludePaths returns a new Module that excludes specific file or directory paths to build.
ModuleWithExcludePathsAllowNotExist returns a new Module that excludes specific file or directory paths to build, but allows the specified paths to not exist.
ModuleWithModuleIdentity is used to construct a Module with a ModuleIdentity.
ModuleWithModuleIdentityAndCommit is used to construct a Module with a ModuleIdentity and commit.
ModuleWithTargetPaths returns a new Module that specifies specific file or directory paths to build.
ModuleWithTargetPathsAllowNotExist returns a new Module specifies specific file or directory paths to build, but allows the specified paths to not exist.
ModuleWithWorkspaceDirectory returns a new ModuleOption that sets the workspace directory.
NewModuleFileSet returns a new ModuleFileSet.
NewModuleForBucket returns a new Module.
NewModuleForFileSet returns a new Module given the FileSet.
NewModuleForProto returns a new Module for the given proto Module.
NewNopModuleReader returns a new ModuleReader that always returns a fs.ErrNotExist error.
NewNopModuleResolver returns a new ModuleResolver that always returns a fs.ErrNotExist error.
NewWorkspace returns a new module workspace.
TargetModuleFilesToBucket writes the target files of the given Module to the WriteBucket.
ValidateProtoModule verifies the given module is well-formed.

# Constants

DefaultDocumentationPath defines the default path to the documentation file, relative to the root of the module.
LicenseFilePath defines the path to the license file, relative to the root of the module.

# Variables

AllDocumentationPaths defines all possible paths to the documentation file, relative to the root of the module.

# Interfaces

Module is a Protobuf module.
ModuleFile is a module file.
ModuleFileSet is a Protobuf module file set.
ModuleReader reads resolved modules.
ModuleResolver resolves modules.
Workspace represents a workspace.

# Type aliases

ModuleOption is used to construct Modules.