Skip to main content

add_repository_to_manifest

Function add_repository_to_manifest 

Source
pub fn add_repository_to_manifest(
    manifest_path: &Path,
    alias: &str,
    repository_path: &str,
    dry_run: bool,
) -> Result<ManifestMutationSummary, ApplicationError>
Expand description

Adds a minimal repository entry to a workspace manifest or returns a preview.

ยงErrors

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