I apologize if the questions title is not clear.
I am creating a very large compressed TarFile using python.
I need to know if when using TarFile.Add()
does that close and/or finalize the file added, or can the file still be modified?
For instance, if I were to create an empty text file and then add it to a TarFile, and then modify the text file, and then close the TarFile, would the changes made to the text file appear in the TarFile, or is the text file added as it was at the time of the TarFile.Add()
?
Thank you.
Note: If it makes any sort of difference, the code is running on a Ubuntu machine, and the archive is also being created on the same machine.