Skip to main content

write_changeset

Function write_changeset 

Source
pub fn write_changeset(changeset: &Changeset) -> Result<String, WriteError>
Expand description

Serializes a Changeset back to .changeset/*.md bytes.

Names are quoted only when necessary. Severities are always written lowercase. Output always uses \n line endings and ends with a single trailing newline after the summary.