assignment

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Path       string
	BranchName string
}

Info represents an assignment with its path and generated branch name

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

Processor handles assignment discovery and processing

func NewProcessor

func NewProcessor(repositoryRoot string, assignmentProcessor *regex.Processor) (*Processor, error)

NewProcessor creates a new Processor with assignment regex patterns

func (*Processor) GetAssignmentRegexStrings

func (ap *Processor) GetAssignmentRegexStrings() []string

GetAssignmentRegexStrings returns the assignment regex patterns as strings

func (*Processor) ProcessAssignments

func (ap *Processor) ProcessAssignments() ([]Info, error)

ProcessAssignments discovers all assignments and returns assignment info with unique branch names

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL