in general the rebuilding process is composed by the following steps: - collecting all the files to add - storing their content in the new archive - building the info table
the first step is simple since it's just a recursive scan for collecting the names of the files you want to add. usually the most complex is ever the third for various reasons and because it's composed by fields relative to the second step and in some cases it can be very complex (recursive informations, splitted directory and file informations and so on).
obviously in each step must be respected the exact specifications of the archive which includes compression, encryption and naturally the format of the data.
|