Identify attributes similar to cloud/offline storage status for files in synced drives (e.g., OneDrive, DropBox etc). Retrieve metadata to distinguish files/folders stored locally versus those stored remotely and downloaded on access. First off, there are actually two different cases the can happen here depending on the product, system version, etc: Historically, products like this were implemented by either using kauth, the VFS layer (most commonly, through FUSE), or through a loopback SMB server. The kauth API has been deprecated long enough that I don't think you'll run into that case anymore, but the other two cases still exist in the wild. The modern approach is to use NSFileProviderReplicatedExtension to integrate into with the system. As far as the system is concerned, we only have API support for #2. The first case is either totally invisible (kauth) or can't be differentiated for other use cases of the same file system APIs. SO, focusing on #2: If there’s a preferred macOS framework (like Co
Topic:
App & System Services
SubTopic:
Core OS
Tags: