frontmatter

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(data []byte) (string, bool)

Types

type Item

type Item struct {
	File    string `json:"file"`
	Content string `json:"content"`
}

type ScanOptions

type ScanOptions struct {
	ExcludeFileNames []string
}

type ScanResult

type ScanResult struct {
	Path        string
	Items       []Item
	Diagnostics []diagnostic.Diagnostic
}

func ScanDirectory

func ScanDirectory(root string, target string, opts ScanOptions) ScanResult

Jump to

Keyboard shortcuts

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