commit | 03f1debab429e673ba5e9e317c5a04e36e850cef | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Tue Oct 13 02:15:31 2015 -0700 |
committer | Alex Deymo <deymo@google.com> | Fri Oct 23 20:09:11 2015 -0700 |
tree | e2c288b30f3515aaee669ea377fb3214a02468cf | |
parent | 20891f9c246ec36e6c148579522ac00051b64457 [diff] |
bspatch: Use a C++ interface for file access. This patch moves the exfile.cc implementation to a C++ class with an abstract interface of a file. The implementation of exfile.cc, renamed to extents_file.cc, now uses C++ STL classes and has unittests to test its core functionality. Bug: 24478450 Test: Unittests added. make all test -j5 && ./unittests Change-Id: I8d8f07150ad2ea465c55b5178ca9fbab49185eea