]> Cypherpunks repositories - gostls13.git/commit
os/exec: move platform-specific LookPath docs to a common comment
authorDamien Neil <dneil@google.com>
Tue, 6 Jan 2026 23:57:00 +0000 (15:57 -0800)
committerDamien Neil <dneil@google.com>
Mon, 12 Jan 2026 22:47:02 +0000 (14:47 -0800)
commitc16402d15b42cf494774796e606aba66c90d3d6b
treeac9ce1acfea350a81bdb6e1e5d0fff24d2a80406
parentb7e6d8b923ad06538c800d635d3ede90d3d0b782
os/exec: move platform-specific LookPath docs to a common comment

We have four different LookPath variations (unix, windows, plan9, wasm),
each with slightly different doc comments. Unify the documentation and
move it to a single, common LookPath.

Change-Id: I56bae57e80887a73ef0f6933258ee0a48dbccdcf
Reviewed-on: https://go-review.googlesource.com/c/go/+/734320
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/os/exec/lookpath.go [new file with mode: 0644]
src/os/exec/lp_plan9.go
src/os/exec/lp_unix.go
src/os/exec/lp_wasm.go
src/os/exec/lp_windows.go