buildinfo

package
v1.61.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 3 Imported by: 5

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.

Jump to

Keyboard shortcuts

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