vendor

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const StampName = ".git-a2a-vendored"

Variables

This section is empty.

Functions

func Mode

func Mode(dep manifest.Dependency) string

func Path

func Path(own *manifest.Manifest, dep manifest.Dependency) string

func ValidatePath

func ValidatePath(root, relative string) error

Types

type Finding

type Finding struct {
	Kind string
	Want string
	Got  string
}

type Manager

type Manager struct {
	Runner  gitx.Runner
	Symlink func(string, string) error
}

func (Manager) Apply

func (Manager) ApplyTransition

func (m Manager) ApplyTransition(ctx context.Context, root string, own *manifest.Manifest, dep manifest.Dependency, locked manifest.LockedDependency, previous *manifest.LockedDependency, force bool) (*manifest.LockedVendor, error)

func (Manager) Inspect

func (m Manager) Inspect(ctx context.Context, root string, dep manifest.Dependency, locked manifest.LockedDependency) (State, error)

func (Manager) Remove

func (m Manager) Remove(ctx context.Context, root string, dep manifest.Dependency, locked manifest.LockedDependency, force bool) error

type State

type State struct {
	Mode     string
	Path     string
	Label    string
	Findings []Finding
}

Jump to

Keyboard shortcuts

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