Skip to content

Commit d79ed6d

Browse files
committed
Make WebDAVFile piecewise initializer public
1 parent 375187f commit d79ed6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebDAV/WebDAVFile.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public struct WebDAVFile: Identifiable, Codable, Equatable, Hashable {
2020
public private(set) var size: Int
2121
public private(set) var etag: String
2222

23-
init(path: String, id: String, isDirectory: Bool, lastModified: Date, size: Int, etag: String) {
23+
public init(path: String, id: String, isDirectory: Bool, lastModified: Date, size: Int, etag: String) {
2424
self.path = path
2525
self.id = id
2626
self.isDirectory = isDirectory

0 commit comments

Comments
 (0)