Browse Source

- definition of class manifest

master
parent
commit
f69e71fedb
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      src/include/manifest.hpp

+ 10
- 2
src/include/manifest.hpp View File

@ -1,10 +1,18 @@
#ifndef LIBCBAG_MANIFEST
#define LIBCBAG_MANIFEST
#include <string>
#include <map>
using namespace std;
class manifest{
enum checksum_algorithms {md5=1, sha1};
class Manifest{
private:
map<checksum_algorithms,string> manifest_algorithm_files;
public:
manifest();
Manifest( string basedir );
map<string,string> get_checksum_file_pairs(checksum_algorithms algorithm);
};
#endif


Loading…
Cancel
Save