Skip to main content

update_catalog_file

Function update_catalog_file 

Source
pub fn update_catalog_file(
    options: UpdateCatalogFileOptions<'_>,
) -> Result<CatalogUpdateResult, ApiError>
Expand description

Updates a catalog on disk and only writes the file when the rendered output changes.

ยงErrors

Returns ApiError when the input is invalid, when the existing file cannot be read or parsed, or when the updated content cannot be written.