mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 11:27:19 +02:00
CLI
- Implemented ::isRCOverride.
This commit is contained in:
parent
0b073bc8d1
commit
91f4eade50
2 changed files with 10 additions and 0 deletions
|
@ -1691,6 +1691,15 @@ void CLI::decomposeModSubstitutions ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
bool CLI::isRCOverride (const std::string& raw) const
|
||||||
|
{
|
||||||
|
if (raw.length () > 3 && raw.substr (0, 3) == "rc:")
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool CLI::isUUID (const std::string& raw) const
|
bool CLI::isUUID (const std::string& raw) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -98,6 +98,7 @@ private:
|
||||||
void decomposeModTags ();
|
void decomposeModTags ();
|
||||||
void decomposeModSubstitutions ();
|
void decomposeModSubstitutions ();
|
||||||
|
|
||||||
|
bool isRCOverride (const std::string&) const;
|
||||||
bool isUUID (const std::string&) const;
|
bool isUUID (const std::string&) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue