Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gopathwalk: remove unnecessary call to os.Lstat
internal/gopathwalk.walk remove an unnecessary call to os.Lstat when checking if a symlink should be traversed. And remove a call to filepath.EvalSymlinks that should be unnecessary as we are using os.Stat to compare files. Change-Id: Ie5ad1cb99cbd6d62f08f2b482a3e84b6fe41114d Reviewed-on: https://go-review.googlesource.com/c/tools/+/392095 Reviewed-by: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> Auto-Submit: Heschi Kreinick <heschi@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Trust: Ian Lance Taylor <iant@golang.org>
- Loading branch information
1 parent
8e193c2
commit b9a4807
Showing
2 changed files
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters