framework

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package framework extracts framework hints from build manifests. Hints are always a list with confidence + evidence — never a singular framework (F-4).

Parsing is best-effort: a malformed manifest yields no hint and is not a scan error (soft degradation, per error-strategy). Returns plain structs; pkg/codeprint converts them (avoids an import cycle).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hint

type Hint struct {
	Name       string
	Ecosystem  string
	Confidence string // "high" | "medium" | "low"
	Path       string // manifest path (evidence)
	Keyword    string // trigger keyword (evidence)
}

Hint is a detected framework signal.

func Detect

func Detect(absRoot string, markers []buildsys.Marker) []Hint

Detect reads each marker's manifest and returns framework hints, sorted by (ecosystem, name, path) and de-duplicated.

Jump to

Keyboard shortcuts

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