Add method to insert new sync action in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-07-16 19:18:00 +08:00
parent 885d9f3566
commit 3e6b20713e
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -70,6 +70,12 @@ import OSLog
)
}
func insertSyncAction(_ actionId: UUID) {
let oldActions = syncActions
syncActions.insert(actionId)
updatedSyncStateReporting(oldActions: oldActions)
}
// MARK: - NSFileProviderReplicatedExtension protocol methods
func item(