C++ Library to handle BagIt structures. BagIt is a standard format to create transfer packages for digital preservation purposes. See https://en.wikipedia.org/wiki/BagIt for details http://andreas-romeyke.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
479 B

3 years ago
3 years ago
3 years ago
3 years ago
  1. #ifndef LIBCBAG_MANIFEST
  2. #define LIBCBAG_MANIFEST
  3. #include <string>
  4. #include <map>
  5. #include <list>
  6. #include "checksum.hpp"
  7. using namespace std;
  8. class Manifest{
  9. private:
  10. string basedir;
  11. map<checksum_algorithms,string> manifest_algorithm_files;
  12. public:
  13. virtual map<string,string> get_checksum_file_pairs(checksum_algorithms algorithm);
  14. virtual bool validate( list<string> & log );
  15. };
  16. #endif
  17. // vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab