mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 19:47:18 +02:00
Enhancement
- Broke the indentTree function into two pieces - one that processes a list, the other that processes a single item. This makes it more efficient for use places that have only one element.
This commit is contained in:
parent
29b0d24745
commit
95e36d1145
3 changed files with 29 additions and 17 deletions
|
@ -77,7 +77,12 @@ const std::string escape (const std::string&, char);
|
|||
const std::vector<std::string> indentTree (
|
||||
const std::vector<std::string>&,
|
||||
const std::string& whitespace = " ",
|
||||
char delimiter='.');
|
||||
char delimiter = '.');
|
||||
|
||||
const std::string indentProject (
|
||||
const std::string&,
|
||||
const std::string& whitespace = " ",
|
||||
char delimiter = '.');
|
||||
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue