Ionic Zip Library v1.9.1.6
UpdateDirectory Method (directoryName)
Add or update a directory in a zip archive.
Declaration Syntax
Parameters
- directoryName (String)
- The path to the directory to be added to the zip archive, or updated in the zip archive.
Return Value
The ZipEntry corresponding to the Directory that was added or updated.
Remarks
If the specified directory does not exist in the archive, then this method
is equivalent to calling AddDirectory(). If the specified
directory already exists in the archive, then this method updates any
existing entries, and adds any new entries. Any entries that are in the
zip archive but not in the specified directory, are left alone. In other
words, the contents of the zip file will be a union of the previous
contents and the new files.