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
390 B

#ifndef LIBCBAG_MANIFEST
#define LIBCBAG_MANIFEST
#include <string>
#include <map>
using namespace std;
enum checksum_algorithms {md5=1, sha1};
class Manifest{
private:
map<checksum_algorithms,string> manifest_algorithm_files;
public:
Manifest( string basedir );
map<string,string> get_checksum_file_pairs(checksum_algorithms algorithm);
};
#endif
// vim: set tabstop=4