go/src/internal
Michael Matloob 4e91c5697a internal/goroot: in IsStandardPackage check for go source files
Be more strict in IsStandardPackage: before this change we'd just
check for the existence of the directory, but now we check to see that
there's at least one .go file in the directory.

Also update some comments in the modindex package to reflect the fact
that an IndexPackage might represent a directory that does not contain
any source files.

Fixes #65406
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest

Change-Id: I82f0c0e7bfcd5bb4df0195c4c8c7fc7c67fae53e
Reviewed-on: https://go-review.googlesource.com/c/go/+/561338
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-08 18:16:28 +00:00
..
abi cmd/link: use symbolic offset for ITab.Type 2024-02-08 03:01:24 +00:00
bisect all: remove newline characters after return statements 2023-12-14 17:22:18 +00:00
buildcfg cmd/go: add GORISCV64 environment variable 2024-01-24 07:25:25 +00:00
bytealg runtime: short path for equal pointers in arm64 memequal 2024-01-24 16:07:25 +00:00
cfg cmd/go: add GORISCV64 environment variable 2024-01-24 07:25:25 +00:00
chacha8rand math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
coverage math/rand, math/rand/v2: use ChaCha8 for global rand 2023-12-05 20:34:30 +00:00
cpu all: fix typos 2024-01-30 20:09:45 +00:00
dag
diff internal/diff: add missing 'as' in comment 2023-11-08 14:13:04 +00:00
fmtsort internal/fmtsort: makeChans pin pointer 2023-10-30 21:00:16 +00:00
fuzz all: make more use of the new atomic integer types 2023-11-17 16:39:52 +00:00
goarch
godebug runtime: add race annotations in IncNonDefault 2023-12-15 20:30:44 +00:00
godebugs crypto/x509: gate Policies marshaling with GODEBUG 2023-12-11 23:29:45 +00:00
goexperiment runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
goos all: add wasip1 definitions 2023-03-30 18:50:57 +00:00
goroot internal/goroot: in IsStandardPackage check for go source files 2024-02-08 18:16:28 +00:00
gover go/version: add new package 2023-11-06 23:20:32 +00:00
goversion internal/goversion: update Version to 1.23 2024-01-19 19:23:40 +00:00
intern all: use built-in clear to clear maps 2023-07-27 22:07:13 +00:00
itoa internal/itoa, os: move os.uitox to itoa.Uitox 2023-08-11 02:53:50 +00:00
lazyregexp
lazytemplate
nettrace internal/nettrace: fix comment typo 2023-10-19 11:57:14 +00:00
obscuretestdata crypto/x509: allow BoringCrypto to use 4096-bit keys 2022-11-09 14:47:58 +00:00
oserror
pkgbits all: re-run stringer 2023-04-11 20:24:07 +00:00
platform cmd/dist,internal/platform,runtime: add cgo support for openbsd/riscv64 port 2024-01-25 09:19:16 +00:00
poll Revert "runtime: make netpollBreak entries identifiable on Windows" 2024-02-07 20:08:01 +00:00
profile internal/pprof: remove unused code 2024-02-08 17:57:40 +00:00
race all: drop old +build lines 2023-10-19 23:33:27 +00:00
reflectlite internal/reflectlite: delete TODO pass safe to packEface don't need to copy if safe==true 2024-01-23 17:20:01 +00:00
safefilepath path/filepath: fix various issues in parsing Windows paths 2023-11-07 16:29:18 +00:00
saferio all: rewrite internal/saferio.SliceCap using generics and add func SliceCapWithSize 2023-08-31 00:34:05 +00:00
singleflight internal/singleflight: move Done call in TestForgetUnshared 2023-03-29 22:21:50 +00:00
syscall runtime,internal/syscall/windows: remove long path support check 2024-02-07 20:54:38 +00:00
sysinfo internal/sysinfo: print cpu type from cpuinfo when internal cpu name is empty on Linux 2023-08-17 21:40:36 +00:00
testenv internal/testenv: support the LUCI mobile builders in tests 2024-01-25 23:12:44 +00:00
testlog
testpty internal/testpty: fix error handling 2023-01-25 18:38:54 +00:00
trace internal/trace/v2: store stacks as PCs, not frames 2024-02-07 23:35:44 +00:00
txtar all: replace package ioutil with os and io in src 2022-09-20 02:13:02 +00:00
types go/types, types2: better errors for non-existing fields or methods 2024-02-07 16:41:56 +00:00
unsafeheader
xcoff all: rewrite internal/saferio.SliceCap using generics and add func SliceCapWithSize 2023-08-31 00:34:05 +00:00
zstd internal/zstd: avoid panic when windowSize is negative 2024-01-30 04:10:45 +00:00