mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Add pathForFileProviderExtData convenience method to NextcloudFileProviderFilesUtils
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
487b47fbf7
commit
730c30f324
1 changed files with 5 additions and 0 deletions
|
@ -22,3 +22,8 @@ func pathForAppGroupContainer() -> URL? {
|
|||
|
||||
return FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: appGroupIdentifier)
|
||||
}
|
||||
|
||||
func pathForFileProviderExtData() -> URL? {
|
||||
let containerUrl = pathForAppGroupContainer()
|
||||
return containerUrl?.appendingPathExtension("FileProviderExt/")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue