Revision 732276d3 trunk/Pithos.Core/Agents/NetworkAgent.cs
b/trunk/Pithos.Core/Agents/NetworkAgent.cs | ||
---|---|---|
408 | 408 |
} |
409 | 409 |
} |
410 | 410 |
|
411 |
private async Task SyncFiles(AccountInfo accountInfo,CloudAction action) |
|
411 |
/* private async Task SyncFiles(AccountInfo accountInfo,CloudAction action)
|
|
412 | 412 |
{ |
413 | 413 |
if (accountInfo == null) |
414 | 414 |
throw new ArgumentNullException("accountInfo"); |
... | ... | |
463 | 463 |
// If the previous tophash matches the local tophash, the file was only changed on the server. |
464 | 464 |
if (localHash == previousCloudHash) |
465 | 465 |
{ |
466 |
await Downloader.DownloadCloudFile(accountInfo, cloudFile, downloadPath, CurrentOperationCancelToken);
|
|
466 |
await Downloader.DownloadCloudFile(accountInfo, cloudFile, downloadPath CurrentOperationCancelToken); |
|
467 | 467 |
} |
468 | 468 |
else |
469 | 469 |
{ |
... | ... | |
472 | 472 |
ReportConflictForMismatch(downloadPath); |
473 | 473 |
} |
474 | 474 |
} |
475 |
} |
|
475 |
}*/
|
|
476 | 476 |
|
477 | 477 |
private void ReportConflictForMismatch(string downloadPath) |
478 | 478 |
{ |
Also available in: Unified diff