Create get_dir_size to avoid unnecessary name copying if only size needed
[libi2ncommon] / src / filefunc.hxx
index a122ff5..b9f2d44 100644 (file)
@@ -162,6 +162,7 @@ time_t file_mtime(const std::string& path);
 
 bool get_dir(const std::string& path, std::vector< std::string >& result, bool include_dot_names= false );
 std::vector< std::string > get_dir(const std::string& path, bool include_dot_names= false );
+int get_dir_size(const std::string& path, bool include_dot_names= false );
 
 bool unlink(const std::string& path);