]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: ignore file names beginning with . or _
authorRuss Cox <rsc@golang.org>
Mon, 6 Feb 2012 18:33:22 +0000 (13:33 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 6 Feb 2012 18:33:22 +0000 (13:33 -0500)
commite335ec98b5f897afee90462bd95cf3cec42e115a
tree5b6d8c548228d393e243b5aa6bea9217b7ef7f05
parent842c906e2e9560187d4877d9f52e8f9ceb63d84c
cmd/dist: ignore file names beginning with . or _

This is the same heuristic that build.ScanDir uses.
It avoids considering 'resource fork' files on OS X;
the resource for x.go is ._x.go.

R=gri
CC=golang-dev
https://golang.org/cl/5616073
src/cmd/dist/build.c