This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.S3.
Summary
Syncs the specified directory from Amazon S3, checking the modified date of the local files with existing S3Objects and downloading them if its changed.
Syntax
public Task<IList<string>> SyncDownload(DirectoryPath dirPath, SyncSettings settings, CancellationToken cancellationToken = null)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
dirPath |
DirectoryPath |
The directory path to sync to S3 |
settings |
SyncSettings |
The SyncSettings required to sync to Amazon S3. |
cancellationToken |
CancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Return Value
Type |
Description |
Task<IList<string>> |
A list of keys that require invalidating. |