Skip to main content

preview_remove_repository

Function preview_remove_repository 

Source
pub fn preview_remove_repository(
    source: &str,
    alias: &str,
) -> Result<ManifestEdit, ManifestEditError>
Expand description

Previews removing exactly one repository block while preserving unrelated bytes.

ยงErrors

Returns ManifestEditError when the alias is missing, layout is unsupported, or removal would make the manifest invalid.