Add pathForFileProviderExtData convenience method to NextcloudFileProviderFilesUtils

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-01-12 16:47:29 +01:00
parent 487b47fbf7
commit 730c30f324
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -22,3 +22,8 @@ func pathForAppGroupContainer() -> URL? {
return FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: appGroupIdentifier)
}
func pathForFileProviderExtData() -> URL? {
let containerUrl = pathForAppGroupContainer()
return containerUrl?.appendingPathExtension("FileProviderExt/")
}