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

Method decode

src/Task.cpp:1625–1630  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// Decode values after parse. [ <- &open; ] <- &close;

Source from the content-addressed store, hash-verified

1623// [ <- &open;
1624// ] <- &close;
1625const std::string Task::decode(const std::string& value) const {
1626 if (value.find('&') == std::string::npos) return value;
1627
1628 auto modified = str_replace(value, "&open;", "[");
1629 return str_replace(modified, "&close;", "]");
1630}
1631
1632////////////////////////////////////////////////////////////////////////////////
1633int Task::determineVersion(const std::string& line) {

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected