Skip to main content

parse_landing

Function parse_landing 

Source
pub fn parse_landing(bytes: &[u8]) -> Result<LandingRecord, RecoveryError>
Expand description

What: Parse landing-<n>.json. Why: The incumbent’s parseLandingRecord: a commit landing must name its new OID.

In TS you’d write (pseudocode):

function parseLandingRecord(bytes: Uint8Array): LandingRecord;