diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-05-06 14:43:38 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-05-06 14:43:38 +0200 |
| commit | 7e3c361ac4c97f48d80d7ca63358e92ea464a087 (patch) | |
| tree | 579c09cbba1f47254e7bfa685222e3e39ce62bbb /reference.go | |
| parent | 2594f3f889f93196bc9707ca6962f4f773806f10 (diff) | |
Packbuilder: use a callback for ForEach instead of a channel
Channels provide no means to report an error. Closing a channel could
mean anything.
This is particularly important when dealing with IO, which we do quite
often in the pack builder. Use ForEach which returns an error instead.
Diffstat (limited to 'reference.go')
0 files changed, 0 insertions, 0 deletions
