extractor

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package extractor dispatches non-Markdown files to format-specific extractors, each returning a *parser.ParseResult identical in shape to the Markdown pipeline output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(absPath, relPath string, src []byte, hash string) (res *parser.ParseResult, err error)

Extract dispatches to the correct format extractor by file extension. absPath is the absolute on-disk path; relPath is the path relative to the project root (used as the canonical node ID prefix). src is the raw file bytes; hash is the pre-computed SHA-256 hex string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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