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.

22 lines
474 B

#ifndef LIBCBAG
#define LIBCBAG
#include <string>
#include <list>
#include <boost/filesystem.hpp>
#include <list>
//namespace fs = std::filesystem;
namespace fs = boost::filesystem;
using namespace std;
class payload{
private:
string basedir;
void scan_dir_recursively( fs::path directory, list<fs::path> &paths );
public:
payload( string basedir );
list<string> get_all_relative_paths();
list<string> get_all_absolute_paths();
};
#endif
// vim: set tabstop=4