MCPcopy Create free account
hub / github.com/apache/cloudberry / GetBool

Method GetBool

gpcontrib/gpcloud/src/s3utils.cpp:186–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186bool Config::GetBool(const string &sec, const string &key, const string &defaultvalue) {
187 return ToBool(Get(sec, key, defaultvalue));
188}
189
190bool Config::Scan(const string &sec, const string &key, const char *scanfmt, void *dst) {
191 if ((key == "") || (sec == "") || (this->_conf == NULL)) return false;

Callers 1

InitConfigFunction · 0.80

Calls 1

ToBoolFunction · 0.85

Tested by

no test coverage detected