You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shell_integration/MacOSX/NextcloudFileProviderKit/Sources/NextcloudFileProviderKit/Database/FilesDatabaseManager+Directories.swift
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,7 @@ public extension FilesDatabaseManager {
Copy file name to clipboardExpand all lines: shell_integration/MacOSX/NextcloudFileProviderKit/Sources/NextcloudFileProviderKit/Database/FilesDatabaseManager.swift
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -277,10 +277,11 @@ public final class FilesDatabaseManager: Sendable {
Copy file name to clipboardExpand all lines: shell_integration/MacOSX/NextcloudFileProviderKit/Sources/NextcloudFileProviderKit/Extensions/NKError+Extensions.swift
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,14 @@ extension NKError {
28
28
errorCode ==404
29
29
}
30
30
31
+
varisPreconditionFailedError:Bool{
32
+
errorCode ==412
33
+
}
34
+
35
+
varisLockedError:Bool{
36
+
errorCode ==423
37
+
}
38
+
31
39
varisNoChangesError:Bool{
32
40
errorCode ==NKError.noChangesErrorCode
33
41
}
@@ -49,7 +57,6 @@ extension NKError {
49
57
}elseif isNotFoundError {
50
58
NSFileProviderError(.noSuchItem)
51
59
}elseif isCouldntConnectError {
52
-
// Provide something the file provider can do something with
Copy file name to clipboardExpand all lines: shell_integration/MacOSX/NextcloudFileProviderKit/Tests/NextcloudFileProviderKitTests/ItemModifyTests.swift
+138Lines changed: 138 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -330,6 +330,144 @@ final class ItemModifyTests: NextcloudFileProviderKitTestCase {
0 commit comments