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

Issue 6059044: Enhanced ContentWatcher to watch also creation and deletion. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by TheMue
Modified:
12 years ago
Reviewers:
mp+102365
Visibility:
Public.

Description

Enhanced ContentWatcher to watch also creation and deletion. Instead of a simple content string now a struct with an additional bool field for existance is emitted. https://code.launchpad.net/~themue/juju/go-state-enhanced-content-watcher/+merge/102365 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Enhanced ContentWatcher to watch also creation and deletion. #

Total comments: 6

Patch Set 3 : Enhanced ContentWatcher to watch also creation and deletion. #

Patch Set 4 : Enhanced ContentWatcher to watch also creation and deletion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -97 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M state/watcher/watcher.go View 1 2 6 chunks +53 lines, -18 lines 0 comments Download
M state/watcher/watcher_test.go View 1 2 2 chunks +73 lines, -79 lines 0 comments Download

Messages

Total messages: 6
TheMue
Please take a look.
12 years ago (2012-04-17 17:59:38 UTC) #1
TheMue
Please take a look.
12 years ago (2012-04-17 18:45:42 UTC) #2
niemeyer
Code looks great. LGTM assuming that the following simplifications are done. https://codereview.appspot.com/6059044/diff/2001/state/watcher/watcher.go File state/watcher/watcher.go (right): ...
12 years ago (2012-04-18 19:03:24 UTC) #3
TheMue
Please take a look. https://codereview.appspot.com/6059044/diff/2001/state/watcher/watcher.go File state/watcher/watcher.go (right): https://codereview.appspot.com/6059044/diff/2001/state/watcher/watcher.go#newcode120 state/watcher/watcher.go:120: if exists { On 2012/04/18 ...
12 years ago (2012-04-19 10:53:31 UTC) #4
niemeyer
LGTM, thank you!
12 years ago (2012-04-19 10:56:13 UTC) #5
TheMue
12 years ago (2012-04-19 11:10:49 UTC) #6
*** Submitted:

Enhanced ContentWatcher to watch also creation and deletion.

Instead of a simple content string now a struct with an additional
bool field for existance is emitted.

R=niemeyer
CC=
https://codereview.appspot.com/6059044
Sign in to reply to this message.

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