tag

package
v0.0.85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersionTagAtHEAD

func GetVersionTagAtHEAD(targetDir, tagPrefix string) (string, error)

GetVersionTagAtHEAD checks if there's a version tag at HEAD in the target directory tagPrefix is an optional prefix for the tag (e.g., "path/to/submodule/" for nested modules) If tagPrefix is empty, it will match tags like "v0.0.87" If tagPrefix is provided, it will match tags like "path/to/submodule/v0.0.87"

func ListTagsAtHEAD

func ListTagsAtHEAD(targetDir string) ([]string, error)

ListTagsAtHEAD returns all tags pointing at HEAD in the target directory

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL