MCPcopy Create free account
hub / github.com/apple/foundationdb / getCAPathSync

Method getCAPathSync

flow/TLSConfig.actor.cpp:215–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215std::string TLSConfig::getCAPathSync() const {
216 if (tlsCAPath.size()) {
217 return tlsCAPath;
218 }
219
220 std::string envCAPath;
221 platform::getEnvironmentVar("FDB_TLS_CA_FILE", envCAPath);
222 return envCAPath;
223}
224
225LoadedTLSConfig TLSConfig::loadSync() const {
226 LoadedTLSConfig loaded;

Callers 4

loadAsyncMethod · 0.80
Net2.actor.cppFile · 0.80
initTLSMethod · 0.80
mainFunction · 0.80

Calls 2

getEnvironmentVarFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected