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

Method valid

src/DOM.cpp:501–503  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

499
500////////////////////////////////////////////////////////////////////////////////
501bool DOM::valid(const std::string& reference) const {
502 return _node && _node->find(reference) != nullptr;
503}
504
505////////////////////////////////////////////////////////////////////////////////
506Variant DOM::get(const std::string& reference) const {

Callers 1

TEST_NAMEFunction · 0.80

Calls 1

findMethod · 0.80

Tested by 1

TEST_NAMEFunction · 0.64