1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-24 08:52:21 +02:00
lazygit/vendor/github.com/kardianos/osext
Glenn Vriesman 3f7e107d09 Vendor: Updated dependencies
* Updated go.mod
 * Updated go.sum
 * Updated vendor packages

Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
2019-11-10 23:23:20 +11:00
..
go.mod Vendor: Updated dependencies 2019-11-10 23:23:20 +11:00
LICENSE bump dependencies 2018-08-25 17:36:16 +10:00
osext_go18.go bump dependencies 2018-08-25 17:36:16 +10:00
osext_plan9.go bump dependencies 2018-08-25 17:36:16 +10:00
osext_procfs.go bump dependencies 2018-08-25 17:36:16 +10:00
osext_sysctl.go bump dependencies 2018-08-25 17:36:16 +10:00
osext_windows.go bump dependencies 2018-08-25 17:36:16 +10:00
osext.go bump dependencies 2018-08-25 17:36:16 +10:00
README.md switch to Go modules 2019-09-01 21:24:03 +10:00

Extensions to the "os" package.

GoDoc

Find the current Executable and ExecutableFolder.

As of go1.8 the Executable function may be found in os. The Executable function in the std lib os package is used if available.

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. Both working directory and the os.Args[0] value are arbitrary and cannot be relied on; os.Args[0] can be "faked".

Multi-platform and supports:

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