k3s/vendor/github.com/kardianos/osext
Jeff Grafton 653d05c169 Regenerate all BUILD files in vendor/ from scratch using gazelle 2017-08-16 15:48:25 -07:00
..
BUILD Regenerate all BUILD files in vendor/ from scratch using gazelle 2017-08-16 15:48:25 -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.