Commit 43cc4e8
authored
Ensure symbolic links are skipped at the start of syncEngine.scanPathForNewData() when skip_symlinks = "true" is configured.
This prevents filesystem checks such as exists() and isDir() from being performed on dangling symlinks, which could trigger errors like "No such file or directory" during local scans.
1 parent ea20a1a commit 43cc4e8
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7718 | 7718 | | |
7719 | 7719 | | |
7720 | 7720 | | |
7721 | | - | |
7722 | | - | |
| 7721 | + | |
| 7722 | + | |
| 7723 | + | |
| 7724 | + | |
| 7725 | + | |
| 7726 | + | |
| 7727 | + | |
| 7728 | + | |
| 7729 | + | |
| 7730 | + | |
| 7731 | + | |
7723 | 7732 | | |
7724 | 7733 | | |
7725 | 7734 | | |
| |||
7764 | 7773 | | |
7765 | 7774 | | |
7766 | 7775 | | |
7767 | | - | |
| 7776 | + | |
7768 | 7777 | | |
7769 | 7778 | | |
7770 | 7779 | | |
| |||
0 commit comments