Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder handles full scan indexing of a vault
func NewBuilder ¶
NewBuilder creates a new index builder
type EdgeExport ¶
type EdgeExport struct {
FromID string `json:"from_id"`
ToID *string `json:"to_id,omitempty"` // nil for unresolved links
EdgeType string `json:"edge_type"`
RawTarget string `json:"raw_target"` // JSON string of RawTarget
Span string `json:"span"` // JSON string of Span
}
EdgeExport represents an edge in the export
type ExportData ¶
type ExportData struct {
Version string `json:"version"`
Nodes []NodeExport `json:"nodes"`
Edges []EdgeExport `json:"edges"`
Tags []TagExport `json:"tags"`
}
ExportData represents the complete index export structure
type NodeExport ¶
type NodeExport struct {
ID string `json:"id"`
Type string `json:"type"`
Key string `json:"key"`
Title string `json:"title"`
State string `json:"state"`
Created string `json:"created"`
Updated string `json:"updated"`
Path string `json:"path"`
}
NodeExport represents a node in the export
Click to show internal directories.
Click to hide internal directories.