feat(fs): New filesystem module

Module that displays details about
mounted filesystems, 

Closes 
This commit is contained in:
Michael Carlberg 2016-11-13 06:09:51 +01:00
parent ed5b7a508a
commit 9a0df75a91
9 changed files with 343 additions and 3 deletions
include/utils

View file

@ -28,6 +28,8 @@ namespace string_util {
vector<string>& split_into(string s, char delim, vector<string>& container);
vector<string> split(const string& s, char delim);
size_t find_nth(string haystack, size_t pos, string needle, size_t nth);
string floatval(float value, int decimals = 2, bool fixed = false, string locale = "");
string filesize(unsigned long long bytes, int decimals = 2, bool fixed = false, string locale = "");
string from_stream(const std::basic_ostream<char>& os);
hash_type hash(string src);
}