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: 25758f35a46d6e7e6824a6582e7a48fefbdae1fd (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/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()
}