pkg/index: fix context doc

Change-Id: I8d284cb3a582ad4a599d443ed9d90a2bff724c29
This commit is contained in:
mpl 2015-12-16 15:51:23 +01:00
parent 718c9d8b63
commit 7b415a4e6f
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ func (c *Corpus) br(br blob.Ref) blob.Ref {
//
// If camType is empty, all camlistore blobs are sent, otherwise it specifies
// the camliType to send.
// ch is closed at the end. The err will either be nil or ctx.Err().
// ch is closed at the end. The err will either be nil or context.Canceled.
func (c *Corpus) EnumerateCamliBlobsLocked(ctx context.Context, camType string, ch chan<- camtypes.BlobMeta) error {
defer close(ch)
for t, m := range c.camBlobs {