Skip to main content

normalize_hashpipe_header

Function normalize_hashpipe_header 

Source
pub fn normalize_hashpipe_header(
    content: &str,
    prefix: &str,
) -> Option<HashpipeHeaderNormalization>
Expand description

Normalize a contiguous leading hashpipe header into YAML text.

Returns None when the input does not start with a hashpipe-prefixed line for the provided prefix.