Documentation
¶
Overview ¶
Package search runs ripgrep against a Logseq graph and parses its JSON output into structured hits. It performs process I/O and decoding so the UI layer can consume plain []Hit values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hit ¶
type Hit struct {
FilePath string
Line int
Context string
// Matches are byte offsets within Context that the query matched, so the
// view can emphasise them in the rendered list.
Matches []Span
}
Hit is one ripgrep result row.
Click to show internal directories.
Click to hide internal directories.