Discover Packages
github.com/specscore/codegrapher
resolve
package
Version:
v0.13.2
Opens a new window with list of versions in this module.
Published: Sep 20, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package resolve turns the store's unresolved_refs table into edges.
Resolve reads all unresolved references, attempts to locate a matching node
for each one, inserts the resulting edges, then clears the table.
type Stats struct {
Resolved int
Unresolved int
}
Stats reports how many references were resolved vs. left unresolved.
Resolve processes all unresolved_refs in s, inserts edges for every ref that
can be matched to a node, and then clears the table. projectRoot is used to
read go.mod (if present) for cross-package Go module resolution.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.