Skip to main content

read_manifest

Function read_manifest 

Source
pub async fn read_manifest(
    path: impl AsRef<Path>,
) -> Result<Option<PatchManifest>, Error>
Expand description

Read and parse a manifest from the filesystem. Returns Ok(None) if the file does not exist. Returns Err for I/O errors, JSON parse errors, or validation errors.