additional cleanup after switch from .beagle to .recollweb

This commit is contained in:
Jean-Francois Dockes
2012-12-14 13:20:09 +01:00
parent e24bd240f9
commit 72927b3fc8
7 changed files with 28 additions and 11 deletions
+11
View File
@@ -991,6 +991,15 @@ string RclConfig::getIdxStatusFile() const
}
}
string RclConfig::getWebQueueDir() const
{
string webqueuedir;
if (!getConfParam("webqueuedir", webqueuedir))
webqueuedir = "~/.recollweb/ToIndex/";
webqueuedir = path_tildexpand(webqueuedir);
return webqueuedir;
}
vector<string>& RclConfig::getSkippedNames()
{
if (m_skpnstate.needrecompute()) {
@@ -1009,6 +1018,8 @@ vector<string> RclConfig::getSkippedPaths() const
// don't do this.
skpl.push_back(getDbDir());
skpl.push_back(getConfDir());
// And the web queue dir
skpl.push_back(getWebQueueDir());
for (vector<string>::iterator it = skpl.begin(); it != skpl.end(); it++) {
*it = path_tildexpand(*it);
*it = path_canon(*it);
+3
View File
@@ -155,6 +155,9 @@ class RclConfig {
/** Get indexing status file name */
string getIdxStatusFile() const;
/** Get Web Queue directory name */
string getWebQueueDir() const;
/** Get list of skipped file names for current keydir */
vector<string>& getSkippedNames();