Skip to main content

read_origin

Function read_origin 

Source
pub(crate) fn read_origin(
    sysroot: &Dir,
    deployment_id: &str,
) -> Result<Option<Ini>>
Expand description

Read and parse the .origin INI file for a deployment.

Returns None if the state directory or origin file doesn’t exist (e.g. the deployment was partially deleted).