MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getString

Method getString

valdi/test/integration/Runtime_tests.cpp:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 StringBox getString(const StringBox& key, const StringBox& fallback) override {
89 return config.getMapValue(key).toStringBox();
90 }
91
92 bool getBool(const StringBox& key, bool fallback) override {
93 return config.getMapValue(key).toBool();

Callers

nothing calls this directly

Calls 2

getMapValueMethod · 0.80
toStringBoxMethod · 0.45

Tested by

no test coverage detected