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

#ifndef LIBCBAG_MANIFEST
#define LIBCBAG_MANIFEST
#include <string>
#include <map>
#include <list>
#include "checksum.hpp"
using namespace std;
class Manifest{
private:
string basedir;
map<checksum_algorithms,string> manifest_algorithm_files;
public:
virtual map<string,string> get_checksum_file_pairs(checksum_algorithms algorithm);
virtual bool validate( list<string> & log );
};
#endif
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab