Use fstreewalk-based du-like code to compute index size instead of executing du

This commit is contained in:
Jean-Francois Dockes
2019-01-30 13:43:36 +01:00
parent 2909eec062
commit d2c87318cb
5 changed files with 52 additions and 14 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class RclConfig;
enum RclInitFlags {RCLINIT_NONE = 0, RCLINIT_DAEMON = 1, RCLINIT_IDX = 2};
extern RclConfig *recollinit(int flags,
void (*cleanup)(void), void (*sigcleanup)(int),
std::string& reason, const string *argcnf = 0);
std::string& reason, const std::string *argcnf = 0);
inline RclConfig *recollinit(void (*cleanup)(void), void (*sigcleanup)(int),
std::string& reason,
const std::string *argcnf = 0)