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

Method getOverride

src/CLI2.cpp:213–218  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// Static method.

Source from the content-addressed store, hash-verified

211////////////////////////////////////////////////////////////////////////////////
212// Static method.
213bool CLI2::getOverride(int argc, const char** argv, File& rc) {
214 const char* value = getValue(argc, argv, "rc");
215 if (value == nullptr) return false;
216 rc = File(value);
217 return true;
218}
219
220////////////////////////////////////////////////////////////////////////////////
221// Look for CONFIG data.location and initialize a Path object.

Callers

nothing calls this directly

Calls 1

getValueFunction · 0.85

Tested by

no test coverage detected