(path string, f *doozer.FileInfo)
| 294 | } |
| 295 | |
| 296 | func (c cloner) VisitFile(path string, f *doozer.FileInfo) { |
| 297 | // store.Clobber is okay here because the event |
| 298 | // has already passed through another store |
| 299 | body, _, err := c.cl.Get(path, &f.Rev) |
| 300 | if err != nil { |
| 301 | panic(err) |
| 302 | } |
| 303 | mut := store.MustEncodeSet(path, string(body), store.Clobber) |
| 304 | c.ch <- store.Op{f.Rev, mut} |
| 305 | } |
| 306 | |
| 307 | |
| 308 | func setReady(p consensus.Proposer, self string) { |