aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-03-22 03:18:47 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-03-22 03:18:47 +0800
commit7186e565730d9b0789128319c9dde79dbf8488dc (patch)
treec8d9343e7d7c8f9fe82d353e65027e1c5d54e7d2
parentcfd8b84f072e1799456ad3dc350bc1a486a0e280 (diff)
downloadgo-7186e565730d9b0789128319c9dde79dbf8488dc.tar.gz
go-7186e565730d9b0789128319c9dde79dbf8488dc.zip
go/build: clarify why we exclude files starting with '_' or '.'
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5864053
-rw-r--r--src/pkg/go/build/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/go/build/build.go b/src/pkg/go/build/build.go
index bf9801c802..d113dc135b 100644
--- a/src/pkg/go/build/build.go
+++ b/src/pkg/go/build/build.go
@@ -337,7 +337,7 @@ func (e *NoGoError) Error() string {
// considered part of the package except for:
//
// - .go files in package documentation
-// - files starting with _ or .
+// - files starting with _ or . (likely editor temporary files)
// - files with build constraints not satisfied by the context
//
// If an error occurs, Import returns a non-nil error also returns a non-nil