Remove unnecessary aliases

This commit is contained in:
Christoph Hagen 2022-09-16 15:33:14 +02:00
parent c727bdf91e
commit b47c551160

View File

@ -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