Versions in this module Expand all Collapse all v0 v0.0.2 Apr 15, 2024 Changes in this version + var ErrImageFilterTypeIsImport = errors.New("type declared in imported module") + var ErrImageFilterTypeNotFound = errors.New("not found") + func FreeMessageRangeStrings(ctx context.Context, filePaths []string, image bufimage.Image) ([]string, error) + func ImageFilteredByTypes(image bufimage.Image, types ...string) (bufimage.Image, error) + func ImageFilteredByTypesWithOptions(image bufimage.Image, types []string, opts ...ImageFilterOption) (bufimage.Image, error) + func NewInputFiles(imageFiles []bufimage.ImageFile) []protosource.InputFile + func StripSourceRetentionOptions(image bufimage.Image) (bufimage.Image, error) + type ImageFilterOption func(*imageFilterOptions) + func WithAllowFilterByImportedType() ImageFilterOption + func WithExcludeCustomOptions() ImageFilterOption + func WithExcludeKnownExtensions() ImageFilterOption