File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,11 @@ public final class IndexStoreDB {
146
146
indexstoredb_release ( impl)
147
147
}
148
148
149
- /// *For Testing* Poll for any changes to units and wait until they have been registered.
149
+ /// Poll for any changes to units and wait until they have been registered.
150
+ ///
151
+ /// This scans through all unit files on the file system and is thus a fairly costly operation. It should primarily
152
+ /// be used for testing or in situations where having an up-to-date indexstore-db can avoid significant other work,
153
+ /// such as if the indexstore-db is used to decide whether files need to be re-indexed.
150
154
public func pollForUnitChangesAndWait( isInitialScan: Bool = false ) {
151
155
indexstoredb_index_poll_for_unit_changes_and_wait ( impl, isInitialScan)
152
156
}
You can’t perform that action at this time.
0 commit comments