-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(assets): isZipArchive indicates if this is a zip asset (#944)
Adds a property to `Asset` called `isZipArchive` which allows checking if the assets represents a zip file. This will be true both for `FileAsset` that references an actual .zip file and for `ZipDirectoryAsset`.
- Loading branch information
1 parent
9de3a84
commit 65190f9
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+211 Bytes
packages/@aws-cdk/assets/test/sample-asset-directory/sample-zip-asset.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters