Skip to main content

Crate crate_seq_git

Crate crate_seq_git 

Source
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 SemVer version.

Enums§

Error
Errors that can occur during git repository operations.

Functions§

checkout_tag
Checks out the tree of tag_name into a fresh temporary directory.
create_annotated_tag
Creates an annotated git tag at HEAD in repo_path.
delete_tag
Deletes tag tag_name from the repository.
discover_tags
Discovers all git tags in repo_path matching pattern and parses their SemVer.
tag_date
Resolves the author/tagger timestamp for tag_name.