diff --git a/Sources/Generator/Files/FileSystem.swift b/Sources/Generator/Files/FileSystem.swift index ca1ec0b..a9893ca 100644 --- a/Sources/Generator/Files/FileSystem.swift +++ b/Sources/Generator/Files/FileSystem.swift @@ -2,9 +2,6 @@ import Foundation import CryptoKit import AppKit -typealias SourceFile = (data: Data, didChange: Bool) -typealias SourceTextFile = (content: String, didChange: Bool) - final class FileSystem { private static let tempFileName = "temp.bin" @@ -183,7 +180,7 @@ final class FileSystem { } } - private func getData(atPath path: String) -> SourceFile? { + private func getData(atPath path: String) -> (data: Data, didChange: Bool)? { let url = input.appendingPathComponent(path) guard exists(url) else { return nil