大学
Collage 是一个轻量级的 C++ 库,用于区分和修补数据。
Collage 提供了到 bsdiff/bspatch 库的接口(目前)。
拼贴很小。 单个头文件和源文件。
拼贴是独立的。 嵌入了所有依赖项。
拼贴是跨平台的。
拼贴是 zlib/libpng 许可。
样本
# include < iostream>
# include < cassert>
# include " collage.hpp "
int main () {
std::string source = " hello world and thanks " ;
std::string target = " hello cruel \x1 world. thanks for the fish. " ;
std::string patch = collage::diff (
评论0
最新资源