discovery

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: 0BSD Imports: 7 Imported by: 0

Documentation

Overview

Package discovery owns deterministic filesystem input selection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Path             string
	Explicit         bool
	TraversesSymlink bool
}

File is one normalized Go source selected from an immutable discovery pass.

func GoFiles

func GoFiles(ctx context.Context, inputs []string, options Options) ([]File, error)

GoFiles returns normalized Go source paths in deterministic order.

type Options

type Options struct {
	Root string
}

Options defines the authorized recursive discovery boundary.

Jump to

Keyboard shortcuts

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