mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Removed unused ::isUUID method
This commit is contained in:
parent
c32106e107
commit
3782f37d9d
2 changed files with 0 additions and 16 deletions
15
src/CLI2.cpp
15
src/CLI2.cpp
|
@ -2058,21 +2058,6 @@ bool CLI2::isUUIDList (const std::string& raw) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
bool CLI2::isUUID (const std::string& raw) const
|
|
||||||
{
|
|
||||||
// UUIDs have a limited character set.
|
|
||||||
if (raw.find_first_not_of ("0123456789abcdefABCDEF-") == std::string::npos)
|
|
||||||
{
|
|
||||||
Nibbler n (raw);
|
|
||||||
std::string token;
|
|
||||||
if (n.getUUID (token) || n.getPartialUUID (token))
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool CLI2::isIDSequence (const std::string& raw) const
|
bool CLI2::isIDSequence (const std::string& raw) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -133,7 +133,6 @@ private:
|
||||||
bool isCommand (const std::string&) const;
|
bool isCommand (const std::string&) const;
|
||||||
bool isTag (const std::string&) const;
|
bool isTag (const std::string&) const;
|
||||||
bool isUUIDList (const std::string&) const;
|
bool isUUIDList (const std::string&) const;
|
||||||
bool isUUID (const std::string&) const;
|
|
||||||
bool isIDSequence (const std::string&) const;
|
bool isIDSequence (const std::string&) const;
|
||||||
bool isID (const std::string&) const;
|
bool isID (const std::string&) const;
|
||||||
bool isPattern (const std::string&) const;
|
bool isPattern (const std::string&) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue