Skip to main content

parse_manifest

Function parse_manifest 

Source
pub fn parse_manifest(text: &str) -> Option<InstallManifest>
Expand description

The manifest’s text as an InstallManifest, or None when it is not one: an unreadable manifest is reported as no manifest, and the method is read from the path instead. A leading BOM is allowed – Windows PowerShell 5.1 writes one with -Encoding UTF8, and older install.ps1 runs did.