累计更新:

cos上传
补丁压缩
This commit is contained in:
2025-12-06 16:29:26 +08:00
parent 5a2211d217
commit b78ee53326
11 changed files with 483 additions and 49 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
* @param inputFilename1 The path to the original (old) input file.
* @param inputFilename2 The path to the new input file to compare against.
* @param outputFilename The path to the output file where the diff patch will be written.
* @param compressMethod 0:Not compress 1: bzip 2:zstd
* @return true if the diff file is created successfully; false otherwise.
*
* The function performs the following steps:
@@ -17,4 +18,4 @@
* 6. Finalizes the bzip2 stream and closes all files and buffers.
* 7. Returns true on success, or false if any error occurs during processing.
*/
bool createDiff(const char* inputFilename, const char* inputFilename2, const char* outputFilename);
bool createDiff(const char* inputFilename, const char* inputFilename2, const char* outputFilename, int32_t compressMethod);