Skip to main content

write_git_credential_helper_script

Function write_git_credential_helper_script 

Source
pub fn write_git_credential_helper_script(
    script_path: &Path,
    workspace_id: &str,
) -> Result<()>
Expand description

Writes the repository-local shell wrapper used by Git credential helpers.

The generated script is marked executable on Unix platforms.

§Examples

write_git_credential_helper_script(script_path, "ws-1")?;