Remove unnecessary aliases
This commit is contained in:
parent
c727bdf91e
commit
b47c551160
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user