Skip to content

Commit

Permalink
windows: export getProcessEntry
Browse files Browse the repository at this point in the history
This function is currently copied in github.com/inconshreveable/mousetrap,
which is widely used in projects (commonly as dependency for spf13/cobra).

Until recently, mousetrap had code for backward-compatibility with old Go
versions, but now that that code was removed, it's a very small wrapper
around getProcessEntry. Exporting this function allows it to be an even
smaller wrapper (most projects would already have golang.org/x/sys as
dependency in some form or another).
  • Loading branch information
thaJeztah committed Dec 22, 2022
1 parent 3b1fc93 commit 2fb76ef
Showing 1 changed file with 318 additions and 318 deletions.

0 comments on commit 2fb76ef

Please sign in to comment.