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
source share