Skip to content

Commit 9466bcf

Browse files
committed
Remove NIO change on CI that's no longer needed because of upstream pull
1 parent 2f04c46 commit 9466bcf

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

swift-nio-filesystem.patch

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
diff --git a/Sources/NIOFileSystem/FileSystem.swift b/Sources/NIOFileSystem/FileSystem.swift
2-
index 3fc7d561..50e0482a 100644
3-
--- a/Sources/NIOFileSystem/FileSystem.swift
4-
+++ b/Sources/NIOFileSystem/FileSystem.swift
5-
@@ -17,6 +17,7 @@
6-
import NIOCore
7-
import NIOPosix
8-
import SystemPackage
9-
+import class Foundation.FileManager
10-
11-
#if canImport(Darwin)
12-
import Darwin
13-
@@ -626,7 +627,8 @@ public struct FileSystem: Sendable, FileSystemProtocol {
14-
}.get()
15-
}
16-
#elseif os(Android)
17-
- return "/data/local/tmp"
18-
+ //return "/data/local/tmp"
19-
+ return FilePath(FileManager.default.temporaryDirectory.path)
20-
#else
21-
return "/tmp"
22-
#endif
231
diff --git a/Sources/NIOFileSystem/Internal/SystemFileHandle.swift b/Sources/NIOFileSystem/Internal/SystemFileHandle.swift
242
index 3dc51872..49aeeeca 100644
253
--- a/Sources/NIOFileSystem/Internal/SystemFileHandle.swift

0 commit comments

Comments
 (0)