mirror of https://github.com/perkeep/perkeep.git
pkg/index: fix context doc
Change-Id: I8d284cb3a582ad4a599d443ed9d90a2bff724c29
This commit is contained in:
parent
718c9d8b63
commit
7b415a4e6f
|
@ -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
|
// If camType is empty, all camlistore blobs are sent, otherwise it specifies
|
||||||
// the camliType to send.
|
// 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 {
|
func (c *Corpus) EnumerateCamliBlobsLocked(ctx context.Context, camType string, ch chan<- camtypes.BlobMeta) error {
|
||||||
defer close(ch)
|
defer close(ch)
|
||||||
for t, m := range c.camBlobs {
|
for t, m := range c.camBlobs {
|
||||||
|
|
Loading…
Reference in New Issue