OmniSciDB
a5dc49c757
|
#include <DdlUtils.h>
Static Public Member Functions | |
static void | addToBlacklist (const std::string &path) |
static bool | isBlacklistedPath (const std::string &path) |
static void | clear () |
Static Private Attributes | |
static std::vector< std::string > | blacklisted_paths_ {} |
Definition at line 97 of file DdlUtils.h.
|
static |
Definition at line 925 of file DdlUtils.cpp.
References blacklisted_paths_, and CHECK.
Referenced by anonymous_namespace{CommandLineOptions.cpp}::addOptionalFileToBlacklist(), and CommandLineOptions::validate().
|
static |
Definition at line 952 of file DdlUtils.cpp.
References blacklisted_paths_.
|
static |
boost::filesystem::canonical throws an exception if provided path does not exist. This may happen for use cases like license path where the path may not necessarily contain a file. Fallback to boost::filesystem::absolute in this case.
Definition at line 930 of file DdlUtils.cpp.
References blacklisted_paths_.
Referenced by ddl_utils::validate_allowed_file_path().
|
staticprivate |
Definition at line 104 of file DdlUtils.h.
Referenced by addToBlacklist(), clear(), and isBlacklistedPath().