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.

23 lines
569 B

#include <string>
#include <list>
#include <boost/filesystem.hpp>
#include <list>
//namespace fs = std::filesystem;
namespace fs = boost::filesystem;
using namespace std;
class Payload{
string basedir;
void scan_dir_recursively( fs::path directory, list<fs::path> &paths );
Payload( string basedir );
list<string> get_all_relative_paths();
list<string> get_all_absolute_paths();
bool validate();
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab