OmniSciDB
a5dc49c757
|
#include <DdlUtils.h>
Static Public Member Functions | |
static void | initialize (const std::string &data_dir, const std::string &allowed_import_paths, const std::string &allowed_export_paths) |
static void | validateWhitelistedFilePath (const std::vector< std::string > &expanded_file_paths, const DataTransferType data_transfer_type) |
static void | clear () |
Static Private Attributes | |
static std::vector< std::string > | whitelisted_import_paths_ {} |
static std::vector< std::string > | whitelisted_export_paths_ {} |
Definition at line 82 of file DdlUtils.h.
|
static |
Definition at line 917 of file DdlUtils.cpp.
References whitelisted_export_paths_, and whitelisted_import_paths_.
Referenced by QueryRunner::QueryRunner::init(), and loadGeo().
|
static |
Definition at line 878 of file DdlUtils.cpp.
References CHECK, shared::kDefaultExportDirName, shared::kDefaultImportDirName, ddl_utils::set_whitelisted_paths(), whitelisted_export_paths_, and whitelisted_import_paths_.
Referenced by QueryRunner::QueryRunner::init(), loadGeo(), and CommandLineOptions::validate().
|
static |
Definition at line 903 of file DdlUtils.cpp.
References ddl_utils::EXPORT, ddl_utils::IMPORT, UNREACHABLE, ddl_utils::validate_expanded_file_path(), whitelisted_export_paths_, and whitelisted_import_paths_.
Referenced by ddl_utils::validate_allowed_file_path().
|
staticprivate |
Definition at line 94 of file DdlUtils.h.
Referenced by clear(), initialize(), and validateWhitelistedFilePath().
|
staticprivate |
Definition at line 93 of file DdlUtils.h.
Referenced by clear(), initialize(), and validateWhitelistedFilePath().