CHGenerator/WebsiteGenerator/Generic/Context.swift

15 lines
318 B
Swift
Raw Normal View History

2022-08-19 18:05:06 +02:00
import Foundation
final class Context {
let validation: ErrorOutput
let fileSystem: FileAccess
init(inputFolder: URL, outputFolder: URL) {
let validation = ErrorOutput()
self.validation = validation
self.fileSystem = FileAccess(in: inputFolder, errorOutput: validation)
}
}