Skip to main content

load_bookmarks

Function load_bookmarks 

Source
pub fn load_bookmarks(
    config: &BookmarksConfig,
) -> (Vec<Bookmark>, Option<LoadProblem>)
Expand description

Read the bookmarks list named by config for the current environment. A missing file yields default_bookmarks with no problem; an unreadable or unparsable one yields the default list plus the problem, so a broken file never takes the section down.