commit | 439c57d7b743e0b8a943ca73d82e81fc7c243cab | [log] [tgz] |
---|---|---|
author | Keith Rarick <kr@xph.us> | Wed Sep 18 15:59:49 2013 -0700 |
committer | Keith Rarick <kr@xph.us> | Wed Sep 18 16:13:21 2013 -0700 |
tree | 20cc5e63103939e75635c8ebd853fac45fe386b5 | |
parent | c87e12aa6a9ff5ae76efa9e5556a7da7ddd9a470 [diff] |
remove Stop method Reimplement Walker instead of wrapping filepath.Walk. This avoids a garbage goroutine if the user stops calling Step without calling Stop. This, in turn, makes Stop unnecessary. The caller can simply break out of the loop when they want to stop.