k3s/vendor/github.com/kardianos/osext
Tim Hockin 3c0c5ed4e0 Move deps from _workspace/ to vendor/
godep restore
pushd $GOPATH/src/github.com/appc/spec
git co master
popd
go get go4.org/errorutil
rm -rf Godeps
godep save ./...
git add vendor
git add -f $(git ls-files --other vendor/)
git co -- Godeps/LICENSES Godeps/.license_file_state Godeps/OWNERS
2016-05-08 20:30:21 -07:00
..
LICENSE Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
README.md Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_plan9.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_procfs.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_sysctl.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_windows.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00

README.md

Extensions to the "os" package.

Find the current Executable and ExecutableFolder.

There is sometimes utility in finding the current executable file that is running. This can be used for upgrading the current executable or finding resources located relative to the executable file.

Multi-platform and supports:

  • Linux
  • OS X
  • Windows
  • Plan 9
  • BSDs.