|
a/src/utils/fstreewalk.h |
|
b/src/utils/fstreewalk.h |
|
... |
|
... |
77 |
do not descend (ie: /home/me/.recoll) */
|
77 |
do not descend (ie: /home/me/.recoll) */
|
78 |
bool addSkippedPath(const string &path);
|
78 |
bool addSkippedPath(const string &path);
|
79 |
/** Set the ignored paths list */
|
79 |
/** Set the ignored paths list */
|
80 |
bool setSkippedPaths(const list<string> &pathlist);
|
80 |
bool setSkippedPaths(const list<string> &pathlist);
|
81 |
|
81 |
|
|
|
82 |
/** Test if path/name should be skipped. This can be used independantly of
|
|
|
83 |
* an actual tree walk */
|
82 |
bool inSkippedPaths(const string& path);
|
84 |
bool inSkippedPaths(const string& path);
|
83 |
bool inSkippedNames(const string& name);
|
85 |
bool inSkippedNames(const string& name);
|
|
|
86 |
|
84 |
private:
|
87 |
private:
|
85 |
Status iwalk(const string &dir, struct stat *stp, FsTreeWalkerCB& cb);
|
88 |
Status iwalk(const string &dir, struct stat *stp, FsTreeWalkerCB& cb);
|
86 |
class Internal;
|
89 |
class Internal;
|
87 |
Internal *data;
|
90 |
Internal *data;
|
88 |
};
|
91 |
};
|