Skip to main content

add_manual_link_to_manifest

Function add_manual_link_to_manifest 

Source
pub fn add_manual_link_to_manifest(
    manifest_path: &Path,
    link: &ManualLinkConfig,
    dry_run: bool,
) -> Result<ManifestMutationSummary, ApplicationError>
Expand description

Adds one exact manual relationship declaration to a workspace manifest or returns a preview.

ยงErrors

Returns ApplicationError when declaration validation, path policy, backup, or atomic commit fails.