diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2012-03-22 03:18:47 +0800 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2012-03-22 03:18:47 +0800 |
commit | 7186e565730d9b0789128319c9dde79dbf8488dc (patch) | |
tree | c8d9343e7d7c8f9fe82d353e65027e1c5d54e7d2 | |
parent | cfd8b84f072e1799456ad3dc350bc1a486a0e280 (diff) | |
download | go-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.go | 2 |
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 |