Versions in this module Expand all Collapse all v0 v0.5.1 Sep 17, 2026 v0.5.0 Sep 16, 2026 Changes in this version + func Apply(ctx context.Context, plan *Plan) error + func CompatibilityAssetPaths(sourceFamily string) ([]string, error) + func IsKnownLegacyMarkerFile(relativePath string, body []byte) bool + func RenderCompatibilityAsset(project Project, relativePath, targetCLIVersion string) ([]byte, error) + func ValidateTargetCLIVersion(raw string) (string, error) + func WritePlan(output io.Writer, plan Plan) error + type Change struct + After []byte + Before []byte + BeforeSHA256 [sha256.Size]byte + Mode fs.FileMode + Path string + type Diagnostic struct + Code string + Line int + Message string + Path string + func ScanManualActions(project Project, changedPaths map[string]struct{}) ([]Diagnostic, error) + type Marker struct + CommentPrefix string + SourceFamily string + Version string + func ParseMarkerLine(line string) (Marker, error) + func (m Marker) Supported() bool + type Plan struct + ApplyBlockers []Diagnostic + Changes []Change + Conflicts []Diagnostic + FromCLIVersions []string + ManualActions []Diagnostic + Project Project + Status Status + TargetCLIVersion string + TargetPkgVersion string + Warnings []Diagnostic + func BuildPlan(projectPath, targetCLIVersion string) (Plan, error) + func (p Plan) Blocked() bool + type Project struct + APIVersion string + ModulePath string + ProductCode string + Root string + ShortName string + SourceCLIVersion string + SourceFamily string + func LoadProject(path string) (Project, error) + type SourceFixture struct + Commit string + Files map[string]string + Name string + ProjectCLIVersion string + func CLIV038SourceFixture() SourceFixture + func SpiderSourceFixture() SourceFixture + type Status string + const StatusApplied + const StatusConflict + const StatusManagedUpToDate + const StatusReady + const StatusUnsupported