last I checked in Sep 2023 (for bi-directional sync) the logic was in Remote- / LocalContentScanner.java here. There used to be a REMOTE_DELETE sync type that got removed here - so I guess no, no deletions on the remote when locally not found. There’s a linked MR to read upon for reasons. I can be wrong if new code is used since but I can’t find it on a whim.