From d79ed6d6bca4cf56a12ba5ec778cbe29553a25c0 Mon Sep 17 00:00:00 2001 From: Isvvc Date: Mon, 3 May 2021 21:53:37 -0600 Subject: [PATCH] Make WebDAVFile piecewise initializer public --- Sources/WebDAV/WebDAVFile.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/WebDAV/WebDAVFile.swift b/Sources/WebDAV/WebDAVFile.swift index a8804cf..c612fc3 100644 --- a/Sources/WebDAV/WebDAVFile.swift +++ b/Sources/WebDAV/WebDAVFile.swift @@ -20,7 +20,7 @@ public struct WebDAVFile: Identifiable, Codable, Equatable, Hashable { public private(set) var size: Int public private(set) var etag: String - init(path: String, id: String, isDirectory: Bool, lastModified: Date, size: Int, etag: String) { + public init(path: String, id: String, isDirectory: Bool, lastModified: Date, size: Int, etag: String) { self.path = path self.id = id self.isDirectory = isDirectory