Switch to side-by-side view
--- a/src/utils/pathut.h +++ b/src/utils/pathut.h @@ -71,6 +71,9 @@ /// Stat parameter and check if it's a directory extern bool path_isdir(const std::string& path); + +/// Retrieve file size +extern long long path_filesize(const std::string& path); /// Dump directory extern bool readdir(const std::string& dir, std::string& reason,