mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
helpers.cpp: Add getFileName(), getFileExt(), getNowTimeStr()
Origin commit data
------------------
Commit: 5d77f01b5d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-07 (Wed, 07 Aug 2013)
This commit is contained in:
@@ -38,6 +38,9 @@ bool get_mem_usage(unsigned long &total, unsigned long &free);
|
||||
|
||||
std::string getPathName(std::string &path);
|
||||
std::string getBaseName(std::string &path);
|
||||
std::string getFileName(std::string &file);
|
||||
std::string getFileExt(std::string &file);
|
||||
std::string getNowTimeStr(const char* format);
|
||||
std::string trim(std::string &str, const std::string &trimChars = " \n\r\t");
|
||||
|
||||
class CFileHelpers
|
||||
|
Reference in New Issue
Block a user