scope

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatPrompt

func FormatPrompt(name, desc string, paths []string) string

Types

type Coverage added in v0.5.0

type Coverage struct {
	SourceDirs []string `json:"source_dirs"`
	Covered    []string `json:"covered"`
	Orphaned   []string `json:"orphaned"`
}

func ComputeCoverage added in v0.5.0

func ComputeCoverage(cfg *config.Config, repoRoot string) (Coverage, error)

type Result

type Result struct {
	Scope string   `json:"scope"`
	Desc  string   `json:"desc,omitempty"`
	Paths []string `json:"paths"`
}

func Get

func Get(cfg *config.Config, name string) (Result, error)

Jump to

Keyboard shortcuts

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