diff options
Diffstat (limited to 'lib/common/Utils.h')
-rw-r--r-- | lib/common/Utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common/Utils.h b/lib/common/Utils.h index d0842b51..d6792077 100644 --- a/lib/common/Utils.h +++ b/lib/common/Utils.h @@ -30,6 +30,11 @@ enum ObjectExists_Dir = 2 }; int ObjectExists(const std::string& rFilename); +std::string HumanReadableSize(int64_t Bytes); +std::string FormatUsageBar(int64_t Blocks, int64_t Bytes, int64_t Max, + bool MachineReadable); +std::string FormatUsageLineStart(const std::string& rName, + bool MachineReadable); #include "MemLeakFindOff.h" |