Commit 364301ef authored by Russ Cox's avatar Russ Cox

exclude _test from godoc as well as _obj.

R=gri
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=33586
CL=33590
parent 88118965
...@@ -120,7 +120,7 @@ func isGoFile(dir *os.Dir) bool { ...@@ -120,7 +120,7 @@ func isGoFile(dir *os.Dir) bool {
func isPkgDir(dir *os.Dir) bool { func isPkgDir(dir *os.Dir) bool {
return dir.IsDirectory() && dir.Name != "_obj"; return dir.IsDirectory() && len(dir.Name) > 0 && dir.Name[0] != '_';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment