diff options
author | Andrew Gerrand <adg@golang.org> | 2014-04-15 09:48:42 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-04-15 09:48:42 +1000 |
commit | 26209f9d1cbd0faeef306f1da2c43184d489a9a8 (patch) | |
tree | 41fd0b69a55be4530977cd2263d372c6f86a38e6 /content/playground | |
parent | d6e30255673913da92fb4ea68e95ce61938c55eb (diff) |
go.blog: use !info.Mode().IsRegular() instead of info.Isdir()
That way we'll only try to hash regular files.
Fixes golang/go#7770.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/87860043
Diffstat (limited to 'content/playground')
0 files changed, 0 insertions, 0 deletions