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:
Paul Beckingham 2012-03-25 16:54:13 -04:00
parent 29b0d24745
commit 95e36d1145
3 changed files with 29 additions and 17 deletions

View file

@ -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
////////////////////////////////////////////////////////////////////////////////