fix(model): don't sync symbolic links on Android (fixes #9725) (#9782)

This commit is contained in:
Kapil Sareen
2024-10-26 14:59:38 +05:30
committed by GitHub
parent ff7e4fef55
commit 4afc898c2f

View File

@@ -398,7 +398,7 @@ func (f *sendReceiveFolder) processNeeded(snap *db.Snapshot, dbUpdateChan chan<-
f.queue.Push(file.Name, file.Size, file.ModTime())
}
case build.IsWindows && file.IsSymlink():
case (build.IsWindows || build.IsAndroid) && file.IsSymlink():
if err := f.handleSymlinkCheckExisting(file, snap, scanChan); err != nil {
f.newPullError(file.Name, fmt.Errorf("handling unsupported symlink: %w", err))
break