Browse Source

- store() added

master
Andreas Romeyke 3 years ago
parent
commit
ffc4286ad8
10 changed files with 30 additions and 2 deletions
  1. +1
    -0
      src/include/bagmetadata.hpp
  2. +1
    -0
      src/include/fetchfile.hpp
  3. +1
    -0
      src/include/manifest.hpp
  4. +3
    -2
      src/include/othertags.hpp
  5. +1
    -0
      src/include/payload.hpp
  6. +4
    -0
      src/lib/bagmetadata.cpp
  7. +3
    -0
      src/lib/fetchfile.cpp
  8. +3
    -0
      src/lib/manifest.cpp
  9. +8
    -0
      src/lib/othertags.cpp
  10. +5
    -0
      src/lib/payload.cpp

+ 1
- 0
src/include/bagmetadata.hpp View File

@ -35,6 +35,7 @@ class Bagmetadata{
bool validate( list<string> & log );
bool has_oxum();
oxum_t get_oxum();
bool store( string basedir);
};
#endif


+ 1
- 0
src/include/fetchfile.hpp View File

@ -20,6 +20,7 @@ class Fetchfile{
bool fetch(list<string> &log, fetch_t);
bool fetch_all_entries();
bool validate( list<string> &log );
bool store( string basedir);
};
#endif


+ 1
- 0
src/include/manifest.hpp View File

@ -17,6 +17,7 @@ class Manifest{
list<filename_t> get_checksummed_files();
virtual bool validate( list<string> & log );
void debug();
bool store( string basedir);
};
#endif


+ 3
- 2
src/include/othertags.hpp View File

@ -2,9 +2,10 @@
#define LIBCBAG_OTHERTAGS
#include <string>
using namespace std;
class othertags{
class Othertags{
public:
othertags();
Othertags( string basedir);
bool store( string basedir);
};
#endif


+ 1
- 0
src/include/payload.hpp View File

@ -17,6 +17,7 @@ class Payload{
list<string> get_all_relative_paths();
list<string> get_all_absolute_paths();
bool validate(list<string> & log);
bool store( string basedir);
};
#endif
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab


+ 4
- 0
src/lib/bagmetadata.cpp View File

@ -121,4 +121,8 @@ oxum_t Bagmetadata::get_oxum() {
}
return oxum;
}
bool Bagmetadata::store( string basedir ) {
return false;
}
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab

+ 3
- 0
src/lib/fetchfile.cpp View File

@ -66,4 +66,7 @@ bool Fetchfile::validate(list<string> &log) {
return true;
}
bool Fetchfile::store( string basedir ) {
return false;
}
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab

+ 3
- 0
src/lib/manifest.cpp View File

@ -89,6 +89,9 @@ list<string> Manifest::get_checksummed_files() {
}
bool Manifest::store( string basedir ) {
return false;
}


+ 8
- 0
src/lib/othertags.cpp View File

@ -0,0 +1,8 @@
#include "othertags.hpp"
Othertags::Othertags( string basedir ) {
}
bool Othertags::store( string basedir ) {
return false;
}

+ 5
- 0
src/lib/payload.cpp View File

@ -56,4 +56,9 @@ list<string> Payload::get_all_absolute_paths() {
bool Payload::validate( list<string> & log ) {
return true;
}
bool Payload::store( string basedir ) {
return false;
}
// vim: set tabstop=4

Loading…
Cancel
Save