Skip to main content

Module hashpipe_normalizer

Module hashpipe_normalizer 

Source
Expand description

Shared hashpipe header detection and normalization utilities.

This module detects the contiguous hashpipe YAML preamble at the start of a code block content string, strips line prefixes into normalized YAML text, and records deterministic host↔normalized range mappings.

Structs§

HashpipeHeaderNormalization
Result of hashpipe header detection and stripping.
HashpipeLineMapping
Per-line mapping between host (original content) and normalized YAML text.

Constants§

SUPPORTED_HASHPIPE_PREFIXES
Prefix markers explicitly supported by hashpipe normalization.

Functions§

normalize_hashpipe_header
Normalize a contiguous leading hashpipe header into YAML text.