feat: Implement Myers' diffing algorithm (#1508)

This commit is contained in:
Nik
2024-01-21 18:39:13 +01:00
committed by GitHub
parent 9d351317b8
commit a13b5bf8c0
41 changed files with 624 additions and 215 deletions

View File

@@ -0,0 +1,27 @@
#include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include "content/views/view_diff.hpp"
namespace hex::plugin::diffing {
void registerDiffingAlgorithms();
}
using namespace hex;
using namespace hex::plugin::diffing;
IMHEX_PLUGIN_SETUP("Diffing", "WerWolv", "Support for diffing data") {
hex::log::debug("Using romfs: '{}'", romfs::name());
registerDiffingAlgorithms();
ContentRegistry::Views::add<ViewDiff>();
}