host

package
v0.0.0-...-d92a64e Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2013 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

For host type queries, like HasRpm, HasDpkg, HasDhMake, and HasRpmBuild (or similar).

This will be used for determining how far you can go with making a build artifact on a box that does not have all the tools needed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bzr

func Bzr() string

Path to bzr (if present)

func Command

func Command(cmd string) string

Searches PATH for cmd, and returns the path to it. Empty string is lack of presence.

func DhMake

func DhMake() string

Path to dh_make (if present)

func Dpkg

func Dpkg() string

Path to dpkg (if present)

func Git

func Git() string

Path to git (if present)

func HasDhMake

func HasDhMake() bool

Whether dh_make is in PATH

func HasDpkg

func HasDpkg() bool

Whether dpkg is in PATH

func HasRpm

func HasRpm() bool

Whether rpm is in PATH

func HasRpmBuild

func HasRpmBuild() bool

Whether rpmbuild is in PATH

func Hg

func Hg() string

Path to hg (if present)

func Rpm

func Rpm() string

Path to rpm (if present)

func RpmBuild

func RpmBuild() string

Path to rpmbuild (if present)

Types

This section is empty.

Jump to

Keyboard shortcuts

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