changedpathset

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentEnvelope

func AgentEnvelope(result Result) map[string]any

Types

type Diagnostic

type Diagnostic struct {
	Path     string
	Reason   string
	SourceID string
}

type Input

type Input struct {
	NonClaims           []string
	PreexistingFailures []string
	ReportID            string
	Sources             []SourceInput
}

type Result

type Result struct {
	ChangedPaths       []string
	ChangedPathSetHash string
	DuplicatePaths     []Diagnostic
	ExitCode           int
	Failures           []string
	InvalidPaths       []Diagnostic
	Report             report.Record
	SourceSummaries    []SourceSummary
}

func Build

func Build(raw any) (Result, error)

func (Result) JSONValue added in v0.1.158

func (result Result) JSONValue() map[string]any

type SourceInput

type SourceInput struct {
	Paths    []string
	SourceID string
}

type SourceSummary

type SourceSummary struct {
	AdmittedPathCount          int
	DuplicateAdmittedPathCount int
	DuplicateInputPathCount    int
	InputPathCount             int
	InvalidPathCount           int
	SourceID                   string
}

Jump to

Keyboard shortcuts

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