Skip to main content

delete_tag

Function delete_tag 

Source
pub fn delete_tag(_path: &Path, _tag_name: &str) -> Result<()>
Expand description

Deletes a specified git tag.

§Parameters

  • path: The path to the git repository.
  • tag_name: The name of the tag to delete.

§Returns

  • Ok(()) if the tag was deleted successfully.
  • Err(Error) if an error occurred during tag deletion.