|
a/src/rcldb/rcldb.h |
|
b/src/rcldb/rcldb.h |
|
... |
|
... |
133 |
/** Delete document(s) for given UDI, including subdocs */
|
133 |
/** Delete document(s) for given UDI, including subdocs */
|
134 |
bool purgeFile(const string &udi, bool *existed = 0);
|
134 |
bool purgeFile(const string &udi, bool *existed = 0);
|
135 |
|
135 |
|
136 |
/** Remove documents that no longer exist in the file system. This
|
136 |
/** Remove documents that no longer exist in the file system. This
|
137 |
* depends on the update map, which is built during
|
137 |
* depends on the update map, which is built during
|
138 |
* indexation (needUpdate()).
|
138 |
* indexing (needUpdate()).
|
139 |
*
|
139 |
*
|
140 |
* This should only be called after a full walk of
|
140 |
* This should only be called after a full walk of
|
141 |
* the file system, else the update map will not be complete, and
|
141 |
* the file system, else the update map will not be complete, and
|
142 |
* many documents will be deleted that shouldn't, which is why this
|
142 |
* many documents will be deleted that shouldn't, which is why this
|
143 |
* has to be called externally, rcldb can't know if the indexing
|
143 |
* has to be called externally, rcldb can't know if the indexing
|