version

package
v2.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// String gets defined by the build system
	String string

	// Tag gets defined by the build system
	Tag string

	// LatestTag is the latest released version plus the dev meta version.
	// Will be overwritten by the release pipeline
	// Needs a manual change for every tagged release
	LatestTag = "2.0.0-beta.3+dev"

	// Date indicates the build date.
	Date = time.Now().Format("20060102")

	// Legacy defines the old long 4 number ownCloud version needed for some clients
	Legacy = "10.11.0.0"

	// LegacyString defines the old ownCloud version needed for some clients
	LegacyString = "10.11.0"
)

Functions

func Compiled

func Compiled() time.Time

Compiled returns the compile time of this service.

func GetString

func GetString() string

GetString returns a version string with pre-releases and metadata

func Parsed

func Parsed() (version *semver.Version)

Parsed returns a semver Version

func ParsedLegacy

func ParsedLegacy() *semver.Version

ParsedLegacy returns the legacy version

Types

This section is empty.

Jump to

Keyboard shortcuts

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