Skip to main content

parse_index

Function parse_index 

Source
pub fn parse_index(yaml: &str) -> Result<Index>
Expand description

Parse an _index.yaml body. Paths containing .. or absolute components are rejected.

§Errors

DocsError::IndexMalformed on parse failure or unsafe paths.