Rename get_dir_size() to get_dir_count()
[libi2ncommon] / src / filefunc.hxx
index 5fe6ccc..6051707 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_count(const std::string& path, bool include_dot_names= false );
 
 bool unlink(const std::string& path);
 
@@ -192,6 +193,8 @@ bool recursive_delete(const std::string &path,
                       std::string *error=NULL);
 
 std::string mkdtemp(const std::string &path_template, std::string *error=NULL);
+// mkstemp: see tmpfstream
+
 bool mkdir(const std::string &path, const mode_t &mode=0700, std::string *error=NULL);
 bool rmdir(const std::string &path, std::string *error=NULL);