Documentation
¶
Overview ¶
Package bufprotoc builds ModuleSets for protoc include paths and file paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModuleSetForProtoc ¶
func NewModuleSetForProtoc( ctx context.Context, logger *slog.Logger, storageosProvider storageos.Provider, includeDirPaths []string, filePaths []string, ) (bufmodule.ModuleSet, error)
NewModuleSetForProtoc returns a new ModuleSet for protoc -I dirPaths and filePaths.
The returned ModuleSet will have a single targeted Module, with target files matching the filePaths.
Technically this will work with len(filePaths) == 0 but we should probably make sure that is banned in protoc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.