Skip to main content

parse_user

Function parse_user 

Source
pub fn parse_user(text: &str, origin: &str) -> Result<Library>
Expand description

Parses the text of a user library, checked the way loading checks it.

An empty text is an empty library rather than an error: a machine that has never saved anything has no file at all.