package osext

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/kardianos/osext"

Extensions to the standard "os" package.

Index

Functions

func Executable

func Executable() (string, error)

Executable returns an absolute path that can be used to re-invoke the current program. It may not be valid after the current program exits.

func ExecutableFolder

func ExecutableFolder() (string, error)

Returns same path as Executable, returns just the folder path. Excludes the executable name.

Source Files

osext.go

Version
v1.1.4-beta.0
Published
Dec 7, 2015
Platform
js/wasm
Imports
1 packages
Last checked
25 minutes ago

Tools for package owners.