Skip to main content

parse_compose_file

Function parse_compose_file 

Source
pub fn parse_compose_file(
    content: &str,
) -> Result<(ComposeFrontmatter, String), ComposeError>
Expand description

Parse a compose file into frontmatter + body. Strips the context block (everything after the context marker).