Commit 73fd6e1
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 9ac8d75 commit 73fd6e1
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 | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
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