Documentation ¶
Index ¶
- Variables
- func CountMatchingAffectedFiles(affectedFiles []string, patterns []string) (int, error)
- type Option
- func WithAdditionalInstances(additionalInstances map[string]protoreflect.MessageDescriptor) Option
- func WithAdditionalTaskProperties(additionalTaskProperties []*descriptor.FieldDescriptorProto) Option
- func WithAffectedFiles(affectedFiles []string) Option
- func WithEnvironment(environment map[string]string) Option
- func WithFileSystem(fs fs.FileSystem) Option
- func WithMissingInstancesAllowed() Option
- type Parser
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBfuncNoArguments = errors.New("no arguments provided") ErrBfuncArgumentIsNotString = errors.New("argument should be a string") )
View Source
var ( ErrFailedToRetrieve = errors.New("failed to retrieve") ErrFailedToAnalyze = errors.New("failed to analyze") )
Functions ¶
Types ¶
type Option ¶ added in v0.7.0
type Option func(*Parser)
func WithAdditionalInstances ¶ added in v0.9.0
func WithAdditionalInstances(additionalInstances map[string]protoreflect.MessageDescriptor) Option
func WithAdditionalTaskProperties ¶ added in v0.29.0
func WithAdditionalTaskProperties(additionalTaskProperties []*descriptor.FieldDescriptorProto) Option
func WithAffectedFiles ¶ added in v0.11.0
func WithEnvironment ¶ added in v0.7.0
func WithFileSystem ¶ added in v0.9.0
func WithFileSystem(fs fs.FileSystem) Option
func WithMissingInstancesAllowed ¶ added in v0.35.0
func WithMissingInstancesAllowed() Option
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) NextTaskID ¶ added in v0.7.0
func (*Parser) NextTaskLocalIndex ¶ added in v0.15.0
func (*Parser) ParseFromFile ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.