Skip to content

Commit

Permalink
Merge branch 'develop' into files_downloadlimit
Browse files Browse the repository at this point in the history
  • Loading branch information
marinofaggiana authored Dec 4, 2024
2 parents f2dabb2 + 4e0a7fa commit e175406
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/NextcloudKit/Models/NKTrash.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import Foundation

public class NKTrash: NSObject {
public var ocId = ""
public var contentType = ""
public var date = Date()
public var directory: Bool = false
Expand Down
4 changes: 4 additions & 0 deletions Sources/NextcloudKit/NKDataFileXML.swift
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,10 @@ class NKDataFileXML: NSObject {
file.contentType = "httpd/unix-directory"
}

if let ocId = propstat["d:prop", "oc:id"].text {
file.ocId = ocId
}

if let fileId = propstat["d:prop", "oc:fileid"].text {
file.fileId = fileId
}
Expand Down

0 comments on commit e175406

Please sign in to comment.