]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: clarify why we exclude files starting with '_' or '.'
authorShenghou Ma <minux.ma@gmail.com>
Wed, 21 Mar 2012 19:18:47 +0000 (03:18 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 21 Mar 2012 19:18:47 +0000 (03:18 +0800)
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5864053

src/pkg/go/build/build.go

index bf9801c8028dfc925c870889f62e3885895e3c2f..d113dc135b15a58caa7f529b81648f90d48c4314 100644 (file)
@@ -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