mirror of
https://github.com/golang/go
synced 2024-11-26 06:57:56 -07:00
exclude _test from godoc as well as _obj.
R=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=33586 CL=33590
This commit is contained in:
parent
8811896597
commit
364301efc6
@ -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] != '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user