diff options
Diffstat (limited to 'src/traversal/abbrev.h')
-rw-r--r-- | src/traversal/abbrev.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/traversal/abbrev.h b/src/traversal/abbrev.h deleted file mode 100644 index ad880e45..00000000 --- a/src/traversal/abbrev.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _ABBREV_H -#define _ABBREV_H - -#include "utils.h" - -namespace ledger { - -enum elision_style_t { - TRUNCATE_TRAILING, - TRUNCATE_MIDDLE, - TRUNCATE_LEADING, - ABBREVIATE -}; - -string abbreviate(const string& str, - unsigned int width, - elision_style_t elision_style = TRUNCATE_TRAILING, - const bool is_account = false, - int abbrev_length = 2); - -} // namespace ledger - -#endif // _ABBREV_H |