Welcome to mirror list, hosted at ThFree Co, Russian Federation.

version.go « praefect « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5125cb95d32211e63f835a11910a2a63293267fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package praefect

import (
	"fmt"

	"gitlab.com/gitlab-org/gitaly/v14/internal/version"
)

// GetVersionString returns a standard version header
func GetVersionString() string {
	return fmt.Sprintf("Praefect, version %v", version.GetVersion())
}

// GetVersion returns the semver compatible version number
func GetVersion() string {
	return version.GetVersion()
}

// GetBuildTime returns the time at which the build took place
func GetBuildTime() string {
	return version.GetBuildTime()
}