commit | 9e788ee16941f41682b5ddd7329eb13222518a8e | [log] [tgz] |
---|---|---|
author | Robert Findley <rfindley@google.com> | Mon Apr 11 14:53:56 2022 -0400 |
committer | Robert Findley <rfindley@google.com> | Mon Apr 11 22:00:47 2022 +0000 |
tree | 519ab14c97ca13db2a34496f2d3df1c9d5607d84 | |
parent | fe932b4680bd8878524bfea7a12f7cf30e1e0438 [diff] |
internal/lsp/fake: consider mtime when polling for file changes When polling for on-disk file changes, we must detect changes even if there is no change in the file since the last polling. The reason for this is that there could have been intermediate changes to the file that affected our calculations, and those calculations must be invalidated. For golang/go#51930 Change-Id: I92f5c34f982970d8386fddfaa22b82ba471e22e7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/399625 Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go install
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go install golang.org/x/tools/...@latest
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.