Commit 6bcddaf
committed
fix(file-provider): detect lock changes during working set enumeration.
Nextcloud file locking does not update etags, so the previous
optimisation that skipped child directories with unchanged etags
silently hid lock state changes on nested files. Only skip directories
that are both unchanged and have no materialised descendants.
Also preserve lockToken and visitedDirectory in the target depth read
path, matching the other two code paths.
Signed-off-by: Camila Ayres <hello@camilasan.com>1 parent 487b43d commit 6bcddaf
2 files changed
Lines changed: 15 additions & 18 deletions
File tree
- shell_integration/MacOSX/NextcloudFileProviderKit/Sources/NextcloudFileProviderKit/Enumeration
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
Lines changed: 13 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
| 486 | + | |
| 487 | + | |
494 | 488 | | |
495 | 489 | | |
496 | 490 | | |
497 | 491 | | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
503 | 497 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
508 | 502 | | |
509 | | - | |
| 503 | + | |
| 504 | + | |
510 | 505 | | |
511 | 506 | | |
512 | 507 | | |
| |||
0 commit comments