Repository navigation
Conversation
|
The deep log scan doesn't use the database; it's a fixed walk of C: that only picks the log extensions from Settings. Issue #3 came from a database rule deleting OneDrive's own files, so it's a different problem. The built-in Windows junctions ( |
|
Thanks for taking a look, if you find any other issues please feel free to submit a commit. I closed it because the new options also skip Hidden and System entries. The plain overloads didn't skip them, so the scan would stop walking into hidden folders such as |
The deep log scan walks the drive with plain
Directory.GetDirectories/Directory.GetFiles, and those still return junction folders and cloud placeholder files. The other scans in the app skip reparse points (theScanEnumerationfield at the top of this file, the options in Duplicate File Finder andClean.DeleteEmptyDirectories), so I think this one just got missed.What this changes in practice today:
C:\Users\me\Desktop\backup -> D:\stuffgets walked through, and the.log/.tmp/.bakfiles found on the other drive end up in the deep log list and in the clean, although the scan only says it checked C:. With Secure Delete on, the overwritten data is on that other drive, not on C:.The fix is small: the deep log scan now enumerates with reparse points skipped, like every other scan here. Hidden and System files stay excluded exactly the way the plain overloads did it, so the results don't change in any other way.