[][src]Function livesplit_core::run::parser::composite::parse

pub fn parse<R>(
    source: R,
    path: Option<PathBuf>,
    load_files: bool
) -> Result<ParsedRun> where
    R: BufRead + Seek

Attempts to parse a splits file by invoking the corresponding parser for the file format detected. A path to the splits file can be provided, which helps saving the splits file again later. Additionally you need to specify if additional files, like external images are allowed to be loaded. If you are using livesplit-core in a server-like environment, set this to false. Only client-side applications should set this to true.