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

Issue 5794073: code review 5794073: os: IsExist() and IsNotExist() should also consider ENO... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by minux1
Modified:
13 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

os: IsNotExist() should also consider ERROR_PATH_NOT_FOUND on Windows Also update documentation about IsExist() and IsNotExist(), they are not about files only.

Patch Set 1 #

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

Patch Set 3 : diff -r 425491751164 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 425491751164 https://code.google.com/p/go/ #

Patch Set 5 : diff -r 425491751164 https://code.google.com/p/go/ #

Patch Set 6 : diff -r 425491751164 https://code.google.com/p/go/ #

Patch Set 7 : diff -r 425491751164 https://code.google.com/p/go/ #

Total comments: 3

Patch Set 8 : diff -r 60795ddcec85 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r 432035bf819f https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -9 lines) Patch
M src/pkg/os/error.go View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/pkg/os/error_test.go View 1 2 3 4 2 chunks +52 lines, -2 lines 0 comments Download
M src/pkg/os/error_windows.go View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 6
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
13 years, 3 months ago (2012-03-13 08:53:25 UTC) #1
minux1
PTAL, changed the description to: os: IsNotExist() should also consider ENOTDIR on Windows IsExist() is ...
13 years, 3 months ago (2012-03-13 09:00:04 UTC) #2
rsc
http://codereview.appspot.com/5794073/diff/5/src/pkg/os/error_windows.go File src/pkg/os/error_windows.go (right): http://codereview.appspot.com/5794073/diff/5/src/pkg/os/error_windows.go#newcode13 src/pkg/os/error_windows.go:13: return err == syscall.EEXIST || err == syscall.ERROR_ALREADY_EXISTS || ...
13 years, 3 months ago (2012-03-13 13:24:38 UTC) #3
minux1
PTAL. On Tue, Mar 13, 2012 at 9:24 PM, <rsc@golang.org> wrote: > > http://codereview.appspot.com/**5794073/diff/5/src/pkg/os/** > ...
13 years, 3 months ago (2012-03-13 13:42:11 UTC) #4
rsc
LGTM This is fine for now. I don't think we need an explicit comment in ...
13 years, 3 months ago (2012-03-14 15:44:46 UTC) #5
minux1
13 years, 3 months ago (2012-03-14 15:54:49 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=2fedbe9d1cc7 ***

os: IsNotExist() should also consider ERROR_PATH_NOT_FOUND on Windows
    Also update documentation about IsExist() and IsNotExist(), they are not
    about files only.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5794073
Sign in to reply to this message.

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