Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func NewWithNativeConfig ¶ added in v0.5.0
func (*Indexer) IndexWithOptions ¶ added in v0.6.0
func (*Indexer) SetNativeConfig ¶ added in v0.5.0
type Options ¶ added in v0.6.0
type Options struct {
// Force re-runs native analyzers and rebuilds edges even when no files
// changed — needed after toolchain availability changes (e.g. installing
// go/node makes richer native edges possible without any file edits).
Force bool
// SkipNoopGraph makes a no-change index return a nil graph instead of
// rehydrating the stored one from AllSymbols/AllEdges (a multi-second
// load on monorepos). Callers that already hold a resident graph — or
// none at all, like one-shot CLI runs — opt in; result counts still come
// from the store. The stored-edge invariant (stored == what a rebuild
// would produce) is untouched.
SkipNoopGraph bool
}
Options controls a single Index run.
Click to show internal directories.
Click to hide internal directories.