platforms

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package platforms determins file names and extensions based on the current operating system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineBazelFilename

func DetermineBazelFilename(version string, includeSuffix bool) (string, error)

DetermineBazelFilename returns the correct file name of a local Bazel binary.

func DetermineExecutableFilenameSuffix

func DetermineExecutableFilenameSuffix() string

DetermineExecutableFilenameSuffix returns the extension for binaries on the current operating system.

func GetPlatform

func GetPlatform() string

GetPlatform returns a Bazel CI-compatible platform identifier for the current operating system. TODO(fweikert): raise an error for unsupported platforms

Types

This section is empty.

Jump to

Keyboard shortcuts

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