need your help with OneDrive folders sync process while scanning those folders.
Developing our own solution that is scanning Mac we've just faced an issue where scanning the OneDrive folder forces the service to re-sync all the files with the server.
We are using several calls to the location, scanning it, exactly these two (ObjC):
MDItemRef item = MDItemCreate(kCFAllocatorDefault, (__bridge CFStringRef)anItemPath);
and
[[NSWorkspace sharedWorkspace] iconForFile:path]
Do you know if there any solutions, like ignore list, APIs, or any similar that won't cause files re-sync?
Thanks!
question from:
https://stackoverflow.com/questions/65951794/macos-touching-onedrive-folder-forces-it-to-re-sync 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…