Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(180)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 7497045: code review 7497045: go.exp: Add fsnotify package

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by howeyc
Modified:
12 years, 5 months ago
Reviewers:
brainman, rsc
CC:
golang-dev, rsc
Visibility:
Public.
go.exp: Add fsnotify package Previous discussions: https://codereview.appspot.com/5585043/ https://code.google.com/p/go/issues/detail?id=4068

Patch Set 1 #

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

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

Total comments: 3

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

Total comments: 1

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

Created: 12 years, 10 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+2491 lines, -0 lines) Patch
A fsnotify/example_test.go View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A fsnotify/fsnotify.go View 1 2 3 4 1 chunk +102 lines, -0 lines 0 comments Download
A fsnotify/fsnotify_bsd.go View 1 2 3 1 chunk +447 lines, -0 lines 0 comments Download
A fsnotify/fsnotify_linux.go View 1 2 3 1 chunk +272 lines, -0 lines 0 comments Download
A fsnotify/fsnotify_symlink_test.go View 1 1 chunk +57 lines, -0 lines 0 comments Download
A fsnotify/fsnotify_test.go View 1 1 chunk +989 lines, -0 lines 0 comments Download
A fsnotify/fsnotify_windows.go View 1 2 3 1 chunk +590 lines, -0 lines 0 comments Download
Total messages: 9
|
howeyc
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.exp
12 years, 10 months ago (2013年03月11日 17:10:44 UTC) #1
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.exp 
Sign in to reply to this message.
rsc
Thanks. I'd like to try to make the API more uniform, so that it's hard ...
12 years, 10 months ago (2013年03月11日 17:23:18 UTC) #2
Thanks. I'd like to try to make the API more uniform, so that it's hard to write
code that accidentally uses a piece of the API that's only available on, say,
Linux, but we can do that in followup CLs.
https://codereview.appspot.com/7497045/diff/7001/fsnotify/example_test.go
File fsnotify/example_test.go (right):
https://codereview.appspot.com/7497045/diff/7001/fsnotify/example_test.go#new...
fsnotify/example_test.go:1: package fsnotify_test
insert copyright notice
https://codereview.appspot.com/7497045/diff/7001/fsnotify/example_test.go#new...
fsnotify/example_test.go:4: "code.google.com/p/go.exp/fsnotify"
please use
import (
 "log"
 "code.google.com/p/go.exp/fsnotify"
)
with a blank line separating standard imports from 'go get' imports.
https://codereview.appspot.com/7497045/diff/7001/fsnotify/fsnotify_bsd.go
File fsnotify/fsnotify_bsd.go (right):
https://codereview.appspot.com/7497045/diff/7001/fsnotify/fsnotify_bsd.go#new...
fsnotify/fsnotify_bsd.go:7: //Package fsnotify implements filesystem
notification.
better to move the doc comments into a single file that gets used always, like
fsnotify.go, or else a new doc.go.
Sign in to reply to this message.
howeyc
I've made changes based on your feedback.
12 years, 10 months ago (2013年03月11日 17:45:09 UTC) #3
I've made changes based on your feedback.
Sign in to reply to this message.
rsc
https://codereview.appspot.com/7497045/diff/11001/fsnotify/fsnotify.go File fsnotify/fsnotify.go (right): https://codereview.appspot.com/7497045/diff/11001/fsnotify/fsnotify.go#newcode5 fsnotify/fsnotify.go:5: //Package fsnotify implements filesystem notification. please put a space ...
12 years, 10 months ago (2013年03月11日 20:28:00 UTC) #4
https://codereview.appspot.com/7497045/diff/11001/fsnotify/fsnotify.go
File fsnotify/fsnotify.go (right):
https://codereview.appspot.com/7497045/diff/11001/fsnotify/fsnotify.go#newcode5
fsnotify/fsnotify.go:5: //Package fsnotify implements filesystem notification.
please put a space after the // and we're good to go.
Sign in to reply to this message.
howeyc
updated.
12 years, 10 months ago (2013年03月11日 21:12:04 UTC) #5
updated.
Sign in to reply to this message.
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=aa678ea78eb7&repo=exp *** go.exp: Add fsnotify package Previous discussions: https://codereview.appspot.com/5585043/ https://code.google.com/p/go/issues/detail?id=4068 R=golang-dev, rsc ...
12 years, 10 months ago (2013年03月11日 22:07:55 UTC) #6
Sign in to reply to this message.
rsc
LGTM I changed TestSubDir to skip the test, because it was failing on my Mac.
12 years, 10 months ago (2013年03月11日 22:08:07 UTC) #7
LGTM
I changed TestSubDir to skip the test, because it was failing on my Mac.
Sign in to reply to this message.
brainman
This change breaks go.exp repo windows build. This exec.Command("mv", testFile, testFileRenamed) (in test), will not ...
12 years, 10 months ago (2013年03月14日 06:39:04 UTC) #8
This change breaks go.exp repo windows build. This
exec.Command("mv", testFile, testFileRenamed)
(in test), will not work on windows. What is the plan here?
Thank you.
Alex
Sign in to reply to this message.
remyoudompheng
R=close
12 years, 5 months ago (2013年07月21日 10:21:21 UTC) #9
R=close
Sign in to reply to this message.
|
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /