mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[xcodegen] NFC: Rename resolvingSymlinks -> realPath
This commit is contained in:
@@ -52,7 +52,7 @@ public extension AbsolutePath {
|
||||
(try? FileManager.default.destinationOfSymbolicLink(atPath: rawPath)) != nil
|
||||
}
|
||||
|
||||
var resolvingSymlinks: Self {
|
||||
var realPath: Self {
|
||||
guard let resolved = realpath(rawPath, nil) else { return self }
|
||||
defer {
|
||||
free(resolved)
|
||||
|
||||
Reference in New Issue
Block a user