Skip to content

Commit

Permalink
downloader: adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Peppe committed Aug 9, 2012
1 parent 251001e commit 8903fa2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ func (d *Download) Stop() {
d.tomb.Wait()
}

// Done returns a channel that receives a value when
// the download has completed.
// Done returns a channel that receives a status when the download has
// completed. It is the receiver's responsibility to close and remove
// the received file.
func (d *Download) Done() <-chan Status {
return d.done
}
Expand Down

0 comments on commit 8903fa2

Please sign in to comment.