Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FreeMessageRangeStrings ¶
func FreeMessageRangeStrings( ctx context.Context, filePaths []string, image bufimage.Image, ) ([]string, error)
FreeMessageRangeStrings gets the free MessageRange strings for the target files.
Recursive.
func NewInputFiles ¶
func NewInputFiles(imageFiles []bufimage.ImageFile) []protosource.InputFile
NewInputFiles converts the ImageFiles to InputFiles.
Since protosource is a pkg package, it cannot depend on bufmoduleref, which has the definition for bufmoduleref.ModuleIdentity, so we have our own interfaces for this in protosource. Given Go's type system, we need to do a conversion here.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.