-
Notifications
You must be signed in to change notification settings - Fork 446
Download Functionality #545
Download Functionality #545
Conversation
e477a8c
to
7c10c35
Compare
78841dc
to
3b3debf
Compare
…download-functionality
c6f94f7
to
7c94cd0
Compare
9768ed8
to
7ea50e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I asked one question, but it is not blocking.
if (bytesRead > 0) | ||
{ | ||
destination.Write(buffer, 0, bytesRead); | ||
if (trackProgress) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This if-statement is just figuring out how long it took to download, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That code is attempting to figure out the progress of the download in real time.
But my tests of the progress reporting has shown me it's less accurate that one would like.
I'm not using it now, but I will record an issue to address it because I would like to use it soon.
Note: This pull request targets
enhancements/async-git-setup-rollup
#561DownloadTask
DownloadTestTask