Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(652)

Issue 87860043: code review 87860043: go.blog: use !info.Mode().IsRegular() instead of info.I... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by adg
Modified:
10 years, 1 month ago
Reviewers:
bradfitz
CC:
golang-codereviews, bradfitz
Visibility:
Public.

Description

go.blog: use !info.Mode().IsRegular() instead of info.Isdir() That way we'll only try to hash regular files. Fixes issue 7770.

Patch Set 1 #

Patch Set 2 : diff -r 1fd833f41de5 https://code.google.com/p/go.blog #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M content/pipelines/bounded.go View 1 chunk +1 line, -1 line 0 comments Download
M content/pipelines/parallel.go View 1 chunk +1 line, -1 line 0 comments Download
M content/pipelines/serial.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
adg
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.blog
10 years, 1 month ago (2014-04-14 23:46:57 UTC) #1
bradfitz
LGTM On Mon, Apr 14, 2014 at 4:46 PM, <adg@golang.org> wrote: > Reviewers: golang-codereviews, > ...
10 years, 1 month ago (2014-04-14 23:47:32 UTC) #2
adg
10 years, 1 month ago (2014-04-14 23:48:48 UTC) #3
*** Submitted as
https://code.google.com/p/go/source/detail?r=08c91d5f3550&repo=blog ***

go.blog: use !info.Mode().IsRegular() instead of info.Isdir()

That way we'll only try to hash regular files.

Fixes issue 7770.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/87860043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b