C ++ Are there any simple attachments to your library of text file version control and version control applications?

So, I am creating a simple cross-platform C ++ application. I need a library for text file version control and version control. Alike SVN, but built into my application (not a standalone accessible server) ... An example of using such a library would be a text editor with its own version control. "I need a library capable of such version control. Is there any library or tutorial on open source to create one?

+6
source share
1 answer

I suspect that as a local client it would not be easy to just hash the content and order it with timestamps. If this is text, then simple enough things like combining command line tools like diff and md5sum might be enough. If it is binary, it is a little less trivial to control it. It really depends on what you need.

One of them may work if you need a complete solution:

libgit

SvnCpp C ++ API

+4
source

Source: https://habr.com/ru/post/893161/


All Articles