mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
data: Removed obsolete getExclusions
This commit is contained in:
parent
10fb92e97f
commit
1d84152185
2 changed files with 0 additions and 17 deletions
16
src/data.cpp
16
src/data.cpp
|
@ -314,22 +314,6 @@ std::vector <Range> getAllExclusions (
|
|||
return addRanges (range, results, exclusionRanges);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::vector <Exclusion> getExclusions (const Rules& rules)
|
||||
{
|
||||
// Add exclusions from configuration.
|
||||
std::vector <Exclusion> all;
|
||||
for (auto& name : rules.all ("exclusions."))
|
||||
all.push_back (Exclusion (lowerCase (name), rules.get (name)));
|
||||
|
||||
/*
|
||||
std::cout << "# getExclusions:\n";
|
||||
for (auto& e : all)
|
||||
std::cout << "# " << e.dump () << "\n";
|
||||
*/
|
||||
return all;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::vector <Interval> getAllInclusions (Database& database)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue