mirror of https://github.com/golang/go.git
Apparently, the convention is to name something "Locked" if the implementation is mutex is already locked when the function is called. Turns out there were no callers of getFileLocked anyway, so just delete that function and rename to getFile. Change-Id: Ia7a9a620c3eb8eb0ce6b0a44ddb2ed62a604484d Reviewed-on: https://go-review.googlesource.com/c/tools/+/215737 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| debug.go | ||
| error_test.go | ||
| errors.go | ||
| external.go | ||
| load.go | ||
| modfiles.go | ||
| overlay.go | ||
| parse.go | ||
| parse_mod.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||