Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveWorkspace ¶ added in v0.2.0
func ResolveWorkspace(projects []ProjectRef) error
ResolveWorkspace performs a second-pass cross-project wikilink resolution after all per-project Resolve() calls have completed. It handles [project/doc-name] formatted wikilinks that could not be resolved within a single project. Because edges.target has a FOREIGN KEY constraint that references nodes in the same DB, cross-project edges use the same self-edge-with-metadata pattern as links_external: Source == Target == ref.FromNodeID, with {"cross_project": true, "target_project": "...", "target_node_id": "..."} stored in Metadata.
Types ¶
type ProjectRef ¶ added in v0.2.0
ProjectRef is a lightweight project descriptor used by ResolveWorkspace to avoid a circular import between resolver and workspace packages.