package osext
import "github.com/docker/distribution/Godeps/_workspace/src/github.com/bugsnag/osext"
Extensions to the standard "os" package.
Index ¶
- func Executable() (string, error)
- func ExecutableFolder() (string, error)
- func GetExePath() (exePath string, err error)
Functions ¶
func Executable ¶
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 ¶
Returns same path as Executable, returns just the folder path. Excludes the executable name.
func GetExePath ¶
Depricated. Same as Executable().
Source Files ¶
- Version
- v2.3.1-rc.0+incompatible
- Published
- Feb 23, 2016
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 3 hours ago –
Tools for package owners.