commands

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RefreshThreshold = 10 * time.Second

RefreshThreshold is the minimum age of the index before a query command triggers an automatic re-walk. Commands read this value when calling AutoRefresh. It is set by the --refresh-threshold root flag (default 10s).

Functions

func Register

func Register(root *cobra.Command)

Register adds all subcommands and their flags to root.

Types

type WorkspaceImportRow added in v0.3.0

type WorkspaceImportRow struct {
	indexer.ImportRow
	RepoID string `json:"repo_id"`
}

WorkspaceImportRow wraps an ImportRow with the originating repo ID for workspace-scoped fan-out results.

type WorkspaceRefRow added in v0.2.0

type WorkspaceRefRow struct {
	indexer.RefRow
	RepoID string `json:"repo_id"`
}

WorkspaceRefRow wraps a RefRow with the originating repo ID for workspace-scoped fan-out results.

type WorkspaceSymbolRow added in v0.2.0

type WorkspaceSymbolRow struct {
	indexer.SymbolRow
	RepoID string `json:"repo_id"`
}

WorkspaceSymbolRow wraps a SymbolRow with the originating repo ID for workspace-scoped fan-out results.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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