MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / get

Function get

test/eval_test.cpp:38–45  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// A few hard-coded symbols.

Source from the content-addressed store, hash-verified

36////////////////////////////////////////////////////////////////////////////////
37// A few hard-coded symbols.
38bool get(const std::string& name, Variant& value) {
39 if (name == "x")
40 value = Variant(true);
41 else
42 return false;
43
44 return true;
45}
46
47} // namespace
48

Callers 1

TEST_NAMEFunction · 0.70

Calls 1

VariantClass · 0.85

Tested by

no test coverage detected