mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
ee1fc86af2
To check if a package is in a module that is in scope, the module resolver checks if there are Go files that would be included in a package in the directory matching the import path in scope. If this directory is in the module cache and we have saved it as a package, we know this directory contains Go files, and do not have to read the directory. Change-Id: I7c9365ce42c760ab95bc68b036212120895c89fb Reviewed-on: https://go-review.googlesource.com/c/tools/+/186922 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
testdata/mod | ||
fix_test.go | ||
fix.go | ||
imports_test.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
mod_112_test.go | ||
mod_cache_test.go | ||
mod_cache.go | ||
mod_test.go | ||
mod.go | ||
proxy_112_test.go | ||
proxy_113_test.go | ||
sortimports.go | ||
zstdlib.go |