From: Shenghou Ma Date: Wed, 21 Mar 2012 19:18:47 +0000 (+0800) Subject: go/build: clarify why we exclude files starting with '_' or '.' X-Git-Tag: weekly.2012-03-22~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7186e565730d9b0789128319c9dde79dbf8488dc;p=gostls13.git go/build: clarify why we exclude files starting with '_' or '.' R=golang-dev, gri CC=golang-dev https://golang.org/cl/5864053 --- 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