Commit fc17c5f
committed
fix(indexing): track total_files separately from total_functions
- Add tracked_total_files captured from progress callback via nonlocal
- Use total_files for repo_manager.update_file_count() and IndexingStats.files_processed
- Keep total_functions for functions_indexed and metrics.record_indexing()
- For incremental: use repo's existing file_count or re-analyze if missing1 parent b40eb3a commit fc17c5f
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
257 | 262 | | |
258 | 263 | | |
259 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
260 | 268 | | |
261 | 269 | | |
262 | 270 | | |
263 | 271 | | |
264 | 272 | | |
265 | 273 | | |
266 | 274 | | |
| 275 | + | |
| 276 | + | |
267 | 277 | | |
268 | 278 | | |
269 | 279 | | |
| |||
278 | 288 | | |
279 | 289 | | |
280 | 290 | | |
| 291 | + | |
281 | 292 | | |
282 | 293 | | |
283 | 294 | | |
284 | 295 | | |
285 | 296 | | |
286 | 297 | | |
287 | 298 | | |
288 | | - | |
| 299 | + | |
289 | 300 | | |
290 | 301 | | |
291 | 302 | | |
| |||
297 | 308 | | |
298 | 309 | | |
299 | 310 | | |
300 | | - | |
| 311 | + | |
301 | 312 | | |
302 | 313 | | |
303 | 314 | | |
| |||
0 commit comments