From b47c551160bde092e2760a3054fedf1ba7b1bf52 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Fri, 16 Sep 2022 15:33:14 +0200 Subject: [PATCH] Remove unnecessary aliases --- Sources/Generator/Files/FileSystem.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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