summaryrefslogtreecommitdiff
path: root/repository.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-05-06 14:43:38 +0200
committerCarlos Martín Nieto <[email protected]>2014-05-06 14:43:38 +0200
commit7e3c361ac4c97f48d80d7ca63358e92ea464a087 (patch)
tree579c09cbba1f47254e7bfa685222e3e39ce62bbb /repository.go
parent2594f3f889f93196bc9707ca6962f4f773806f10 (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 'repository.go')
0 files changed, 0 insertions, 0 deletions