Skip to content

Commit

Permalink
Merge branch 'release/1.9.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Mar 15, 2024
2 parents a253996 + 6c9fe77 commit bb9cc1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public class LocalFileSystemProvider: CloudProvider {
url.stopAccessingSecurityScopedResource()
}
}
let readingIntent = NSFileAccessIntent.readingIntent(with: url, options: .immediatelyAvailableMetadataOnly)
let readingIntent = NSFileAccessIntent.readingIntent(with: url)
fileCoordinator.coordinate(with: [readingIntent], queue: queue) { error in
if let error = error {
CloudAccessDDLogDebug("LocalFileSystemProvider: fillCache(for: \(cloudPath.path)) failed coordinated read with error: \(error)")
Expand Down Expand Up @@ -457,7 +457,7 @@ public class LocalFileSystemProvider: CloudProvider {
private func getItemMetadata(forItemAt url: URL, parentCloudPath: CloudPath) -> Promise<CloudItemMetadata> {
CloudAccessDDLogDebug("LocalFileSystemProvider: getItemMetadata(forItemAt: \(url), parentCloudPath: \(parentCloudPath.path)) called")
let promise = Promise<CloudItemMetadata>.pending()
let readingIntent = NSFileAccessIntent.readingIntent(with: url)
let readingIntent = NSFileAccessIntent.readingIntent(with: url, options: .immediatelyAvailableMetadataOnly)
fileCoordinator.coordinate(with: [readingIntent], queue: queue) { error in
if let error = error {
CloudAccessDDLogDebug("LocalFileSystemProvider: getItemMetadata(forItemAt: \(url), parentCloudPath: \(parentCloudPath.path)) failed coordinated read with error: \(error)")
Expand Down

0 comments on commit bb9cc1c

Please sign in to comment.