累计更新:
cos上传 补丁压缩
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user