From 9843c9cb3856629f0d3c55d837b72f6a04f6154f Mon Sep 17 00:00:00 2001 From: alephao <7674479+alephao@users.noreply.github.com> Date: Tue, 14 May 2024 16:26:29 -0300 Subject: [PATCH] feat: make LocalFileSystem.init public --- Sources/Hummingbird/Files/LocalFileSystem.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Hummingbird/Files/LocalFileSystem.swift b/Sources/Hummingbird/Files/LocalFileSystem.swift index 7cae7e256..042c37958 100644 --- a/Sources/Hummingbird/Files/LocalFileSystem.swift +++ b/Sources/Hummingbird/Files/LocalFileSystem.swift @@ -43,7 +43,7 @@ public struct LocalFileSystem: FileProvider { /// - rootFolder: Root folder to serve files from /// - threadPool: Thread pool used when loading files /// - logger: Logger to output root folder information - init(rootFolder: String, threadPool: NIOThreadPool, logger: Logger) { + public init(rootFolder: String, threadPool: NIOThreadPool, logger: Logger) { if rootFolder.last != "/" { self.rootFolder = "\(rootFolder)/" } else {