workflow

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package workflow provides shared orchestration logic for module discovery, filtering, dependency extraction, and graph building.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	WorkDir  string
	Segments []string

	Excludes       []string
	Includes       []string
	SegmentFilters map[string][]string
}

Options configures module discovery, filtering, and graph building.

type Result

type Result struct {
	AllModules      []*discovery.Module
	FilteredModules []*discovery.Module
	FullIndex       *discovery.ModuleIndex
	FilteredIndex   *discovery.ModuleIndex
	Graph           *graph.DependencyGraph
	Dependencies    map[string]*parser.ModuleDependencies
	Warnings        []error
}

Result contains everything produced by the module workflow.

func Run

func Run(ctx context.Context, opts Options) (*Result, error)

Run executes the full module workflow: scan → filter → parse → build graph.

Jump to

Keyboard shortcuts

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