Documentation ¶
Overview ¶
Package buildinfo provides build information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Tags []string
Tags contains slice of build tags. The `cmount` tag is added by cmd/cmount/mount.go only if build is static. The `noselfupdate` tag is added by cmd/selfupdate/noselfupdate.go Other tags including `cgo` are detected in this package.
Functions ¶
func GetLinkingAndTags ¶
func GetLinkingAndTags() (linking, tagString string)
GetLinkingAndTags tells how the rclone executable was linked and returns space separated build tags or the string "none".
func GetOSVersion ¶ added in v1.56.0
func GetOSVersion() (osVersion, osKernel string)
GetOSVersion returns OS version, kernel and bitness
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.