nodeindex

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Version int      `json:"version"`
	Nodes   []Record `json:"nodes"`
}

type Index

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

func Open

func Open(baseDir string) (*Index, error)

func (*Index) Assign

func (idx *Index) Assign(node *op.OpNode) error

func (*Index) Resolve

func (idx *Index) Resolve(id string) (Record, bool)

type Record

type Record struct {
	ID   string `json:"id"`
	Kind string `json:"kind"`
	URI  string `json:"uri"`
}

Jump to

Keyboard shortcuts

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