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

Issue 105370044: code review 105370044: go.exp/fsnotify: a new API (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by nathany
Modified:
11 years, 7 months ago
Visibility:
Public.

Description

go.exp/fsnotify: a new API * Rename Watch(path string) to Add(name string). * Rename RemoveWatch(path string) to Remove(name string). * Pluralized channel names: Events and Errors. * Renamed FileEvent struct to Event. * Events channel of type Event rather than *FileEvent. * Op constants replace methods like IsCreate(). * Remove AddWatch on Windows, use Add. Minor internal cleanup: * remove internal watch and removeWatch methods. * Windows uses syscall.ERROR_MORE_DATA internally (requires Go 1.3+). * use syscall constants directly for inotify and kqueue. * remove cookie from Event struct (presently unused). * Event struct now has the same definition across every OS. * kqueue: rename events to kevents and fileEvent to event.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -339 lines) Patch
M fsnotify/example_test.go View 1 1 chunk +3 lines, -3 lines 0 comments Download
M fsnotify/fsnotify.go View 1 2 3 1 chunk +25 lines, -17 lines 0 comments Download
M fsnotify/fsnotify_bsd.go View 1 14 chunks +82 lines, -96 lines 0 comments Download
M fsnotify/fsnotify_linux.go View 1 10 chunks +60 lines, -108 lines 0 comments Download
M fsnotify/fsnotify_symlink_test.go View 1 2 chunks +3 lines, -3 lines 0 comments Download
M fsnotify/fsnotify_test.go View 1 23 chunks +40 lines, -40 lines 0 comments Download
M fsnotify/fsnotify_windows.go View 1 14 chunks +49 lines, -72 lines 0 comments Download

Messages

Total messages: 7
nathany
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.exp
11 years, 9 months ago (2014-06-22 05:55:28 UTC) #1
brainman
# go test -v -run=Fake === RUN TestFsnotifyFakeSymlink --- PASS: TestFsnotifyFakeSymlink (0.50s) fsnotify_symlink_test.go:50: Created bogus ...
11 years, 9 months ago (2014-06-23 07:37:26 UTC) #2
nathany
On 2014/06/23 07:37:26, brainman wrote: > # go test -v -run=Fake > === RUN TestFsnotifyFakeSymlink ...
11 years, 9 months ago (2014-06-29 00:34:52 UTC) #3
brainman
LGTM but please wait for others. Alex
11 years, 9 months ago (2014-06-30 07:37:01 UTC) #4
nathany
This CL has been awaiting review for some time now, but it could just be ...
11 years, 7 months ago (2014-08-17 23:03:36 UTC) #5
adg
You can close this issue with "hg change -d 105370044"
11 years, 7 months ago (2014-08-18 05:28:58 UTC) #6
nathany
11 years, 7 months ago (2014-08-18 05:36:14 UTC) #7
Message was sent while issue was closed.
*** Abandoned ***
Sign in to reply to this message.

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