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:
@@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user