artifacts

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package artifacts inspects package archive contents for source-level names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCargoCrate

func ResolveCargoCrate(
	ctx context.Context,
	pkg provides.Package,
	reader archives.Reader,
) (provides.SurfaceResult, error)

ResolveCargoCrate reports the library target provided by a Cargo crate.

func ResolveGoModule

func ResolveGoModule(
	ctx context.Context,
	pkg provides.Package,
	reader archives.Reader,
) (provides.SurfaceResult, error)

ResolveGoModule reports import paths found in a Go module archive.

func ResolveJavaArchive

func ResolveJavaArchive(
	ctx context.Context,
	pkg provides.Package,
	reader archives.Reader,
) (provides.SurfaceResult, error)

ResolveJavaArchive reports Java packages and module metadata found in a JAR.

func ResolveNPMTarball

func ResolveNPMTarball(
	ctx context.Context,
	pkg provides.Package,
	reader archives.Reader,
) (provides.SurfaceResult, error)

ResolveNPMTarball reports package roots and exports found in an npm tarball.

func ResolvePythonWheel

func ResolvePythonWheel(
	ctx context.Context,
	pkg provides.Package,
	reader archives.Reader,
) (provides.SurfaceResult, error)

ResolvePythonWheel reports Python import names found in a wheel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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