Skip to main content

delete_tag

Function delete_tag 

Source
pub fn delete_tag(repo_path: &Path, tag_name: &str) -> Result<(), Error>
Expand description

Deletes tag tag_name from the repository.

Used for rollback if ledger write succeeds but tag creation fails.

ยงErrors

Returns Error::TagCreate if the git subprocess exits non-zero. Returns Error::TempDir if the subprocess cannot be spawned.