Browse Source

- added TODO comment

master
parent
commit
e1c1a7cf60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lib/payload.cpp

+ 1
- 1
src/lib/payload.cpp View File

@@ -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