CHGenerator/WebsiteGenerator/Generic/Context.swift
2022-08-19 18:05:06 +02:00

15 lines
318 B
Swift

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)
}
}