checkout

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

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

Processor handles Git sparse-checkout configuration based on assignment patterns

func New

func New(repositoryRoot string) *Processor

New creates a new sparse checkout processor

func NewWithGitOps

func NewWithGitOps(repositoryRoot string, gitOps *git.Operations) *Processor

NewWithGitOps creates a new sparse checkout processor with custom git operations

func (*Processor) SparseCheckout

func (p *Processor) SparseCheckout() error

SparseCheckout configures Git sparse-checkout for assignments matching the current branch Automatically discovers workflow patterns, finds matching assignments, and sets up sparse-checkout to include all non-assignment root folders plus only the assignment folders that match the current branch

Jump to

Keyboard shortcuts

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