You mean symlinks or regular files?
For symlinks we remove files which were found at some point in past and now missing the method in line 490.
For regular files we remove it using the "mark" algorithm -  after monitoring method marks all found files & dirs, then method:removed_unmarked_paths will remove all dirs and files which are not marked.
Symlink are not part of the mark algorithm since they are very simple map.