Skip to main content

save_workspace

Function save_workspace 

Source
pub fn save_workspace(
    config: &Config,
    _ws_path: &Path,
    manifest: &WorkspaceManifest,
    force: bool,
) -> Result<SaveResult>
Expand description

Push branches and optionally sync the workspace manifest.

For each repo:

  • If clean (or force): push the branch
  • If dirty and not force: skip with warning

If sync is configured, write the sync manifest to the sync repo.