discovery

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverAllProjects

func DiscoverAllProjects() ([]*workspace.WorkspaceNode, error)

DiscoverAllProjects discovers all projects including worktrees within the current ecosystem.

func DiscoverProjects

func DiscoverProjects() ([]*workspace.WorkspaceNode, error)

DiscoverProjects is a centralized helper that finds all main workspace projects (excluding worktrees) within the current ecosystem using the discovery service from grove-core.

func DiscoverProjectsInEcosystem

func DiscoverProjectsInEcosystem(ecosystemRoot string, includeWorktrees bool) ([]*workspace.WorkspaceNode, error)

DiscoverProjectsInEcosystem discovers projects scoped to a specific ecosystem root. If ecosystemRoot is empty, it finds the current ecosystem root or parent ecosystem. If includeWorktrees is false, worktrees are excluded from the results.

func FilterWorkspaces

func FilterWorkspaces(workspaces []string, filter string) []string

FilterWorkspaces applies a glob pattern filter to a list of workspace paths. This function is moved here from the old discover.go.

func GetWorkspaceName

func GetWorkspaceName(workspacePath, rootDir string) string

GetWorkspaceName returns a display name for a workspace path. This function is moved here from the old discover.go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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