Browse Source

- added TODO comment

master
parent
commit
e1c1a7cf60
  1. 2
      src/lib/payload.cpp

2
src/lib/payload.cpp

@ -112,13 +112,13 @@ bool Payload::import_data_dir( const string& importdir ) {
bool Payload::validate() {
fs::path directory(this->basedir + "/data");
// TODO: check if all files are relative to directory path
return fs::is_directory( directory );
}
bool Payload::store( const string& basedir ) {
string newbasedir = basedir + "data/";
fs::path p{ newbasedir };
fs::file_status s = fs::status( p );
if (fs::is_directory( s)) {

Loading…
Cancel
Save