Skip to content

Commit

Permalink
Make WebDAVFile piecewise initializer public
Browse files Browse the repository at this point in the history
  • Loading branch information
skjiisa committed May 4, 2021
1 parent 375187f commit d79ed6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WebDAV/WebDAVFile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d79ed6d

Please sign in to comment.