mirror of
https://github.com/golang/go
synced 2024-11-18 18:04:46 -07:00
be0c89d0d3
Our fake.Workdir generates synthetic file events for "watched" files when using its file API, but we have no such hooks for file changes originating from an external process, in this case the go command. Previously, we detected a file event by checking go command logs to see if a go.mod file was created. This is bound to be fragile, so we replace this with a helper function that walks the working directory looking for changes. Change-Id: I2c2176099b97f3a3b25f4aed2b18de13ae05544a Reviewed-on: https://go-review.googlesource.com/c/tools/+/232637 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
client.go | ||
doc.go | ||
edit_test.go | ||
edit.go | ||
editor_test.go | ||
editor.go | ||
proxy.go | ||
sandbox.go | ||
workdir_test.go | ||
workdir.go |