diff options
author | Yun Peng <pcloudy@google.com> | 2016-08-04 13:48:02 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-08-04 15:17:48 +0000 |
commit | 43302f42fc6c2bd342cebc50ca53e52da7727cba (patch) | |
tree | d2f0d8d357f274af760bd53114df21903dcc3e70 /third_party/ijar/zip.h | |
parent | 20e6e8e3885ede8e68a347ca58ea38c4ec05ccc1 (diff) |
zipper now can specify actual path a file is added to
Examples for how to use <zip_path>=<file> syntax:
zipper c x.zip a/b/__init__.py= # Add an empty file at a/b/__init__.py
zipper c x.zip a/b/main.py=foo/bar/bin.py # Add file foo/bar/bin.py at a/b/main.py
--
Change-Id: I3c09dfb31d082f3ca8036e87affc8d99f7e75fe0
Reviewed-on: https://bazel-review.googlesource.com/#/c/4243
MOS_MIGRATED_REVID=129325719
Diffstat (limited to 'third_party/ijar/zip.h')
-rw-r--r-- | third_party/ijar/zip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/ijar/zip.h b/third_party/ijar/zip.h index aa17a47372..6ca2e40f88 100644 --- a/third_party/ijar/zip.h +++ b/third_party/ijar/zip.h @@ -103,7 +103,7 @@ class ZipBuilder { // Estimate the maximum size of the ZIP files containing files in the "files" // null-terminated array. // Returns 0 on error. - static u8 EstimateSize(char **files); + static u8 EstimateSize(char** files, char** zip_paths, int nb_entries); }; // |