relations

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package relations resolves wiki-link refs into typed graph edges on top of the node tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, st *store.Store, sourceNodes []*parser.ContextNode) error

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func New

func New(st *store.Store) *Resolver

func (*Resolver) Resolve

func (r *Resolver) Resolve(ctx context.Context, ref parser.WikilinkRef) (string, error)

Resolve a single ref to a target node ID.

Jump to

Keyboard shortcuts

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