Documentation
¶
Index ¶
- func DiscoverAllProjects() ([]*workspace.WorkspaceNode, error)
- func DiscoverProjects() ([]*workspace.WorkspaceNode, error)
- func DiscoverProjectsInEcosystem(ecosystemRoot string, includeWorktrees bool) ([]*workspace.WorkspaceNode, error)
- func FilterWorkspaces(workspaces []string, filter string) []string
- func GetWorkspaceName(workspacePath, rootDir string) string
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 ¶
FilterWorkspaces applies a glob pattern filter to a list of workspace paths. This function is moved here from the old discover.go.
func GetWorkspaceName ¶
GetWorkspaceName returns a display name for a workspace path. This function is moved here from the old discover.go.
Types ¶
This section is empty.