Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<BTreeMap<String, String>, DotenvError>
Expand description

Parse the dotenv text into its variables.

ยงErrors

Returns DotenvError for the first line that is not blank, not a comment, and not an assignment in a supported form.