Expand description
Git tag discovery, ref resolution, temp-directory checkout, and tag creation.
All operations use gix (gitoxide) — a pure-Rust git implementation with
no C dependencies, enabling cross-compilation to all Rust targets.
Tag creation and deletion use the git subprocess for simplicity.
Structs§
- TagRef
- A resolved git tag with a parsed
SemVerversion.
Enums§
- Error
- Errors that can occur during git repository operations.
Functions§
- checkout_
tag - Checks out the tree of
tag_nameinto a fresh temporary directory. - create_
annotated_ tag - Creates an annotated git tag at
HEADinrepo_path. - delete_
tag - Deletes tag
tag_namefrom the repository. - discover_
tags - Discovers all git tags in
repo_pathmatchingpatternand parses theirSemVer. - tag_
date - Resolves the author/tagger timestamp for
tag_name.