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;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue