adapters

package
v0.1.47 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package adapters wires every ecosystem adapter into one registry. It lives above internal/scanner so adapters can import the interface without a cycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []scanner.Adapter

All returns every ecosystem adapter, in the order they are tried. Node/TS is the reference ecosystem and goes first (goal.md §13.2).

func Detect

func Detect(dir string) []scanner.Adapter

Detect returns the adapters whose ecosystems are present in dir. A polyglot repo can match several.

Types

This section is empty.

Directories

Path Synopsis
Package goadapter implements the scanner.Adapter contract for the "golang" ecosystem: go.mod-resolved dependencies, go/parser-based symbol usage extraction, and go command classification.
Package goadapter implements the scanner.Adapter contract for the "golang" ecosystem: go.mod-resolved dependencies, go/parser-based symbol usage extraction, and go command classification.
Package node implements the npm-ecosystem scanner adapter: lockfile-resolved dependency scanning (package-lock.json v2/v3, pnpm-lock.yaml v9, classic yarn.lock), static import/symbol extraction for TS/JS sources, command classification, and environment hints.
Package node implements the npm-ecosystem scanner adapter: lockfile-resolved dependency scanning (package-lock.json v2/v3, pnpm-lock.yaml v9, classic yarn.lock), static import/symbol extraction for TS/JS sources, command classification, and environment hints.
Package python implements the scanner.Adapter for the "pypi" ecosystem: lockfile-resolved versions from uv.lock / poetry.lock / requirements.txt pins, import-based symbol scanning, and command classification.
Package python implements the scanner.Adapter for the "pypi" ecosystem: lockfile-resolved versions from uv.lock / poetry.lock / requirements.txt pins, import-based symbol scanning, and command classification.
Package rust implements the scanner.Adapter for the "cargo" ecosystem.
Package rust implements the scanner.Adapter for the "cargo" ecosystem.

Jump to

Keyboard shortcuts

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