We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc4027b commit 2467cd0Copy full SHA for 2467cd0
Sources/TSCBasic/FileSystem.swift
@@ -349,6 +349,10 @@ private class LocalFileSystem: FileSystem {
349
try FileManager.default.createDirectory(atPath: path.pathString, withIntermediateDirectories: recursive, attributes: [:])
350
}
351
352
+ func createSymbolicLink(_ path: AbsolutePath, pointingAt destination: AbsolutePath) throws {
353
+ try FileManager.default.createSymbolicLink(atPath: path.pathString, withDestinationPath: destination.pathString)
354
+ }
355
+
356
func readFileContents(_ path: AbsolutePath) throws -> ByteString {
357
// Open the file.
358
let fp = fopen(path.pathString, "rb")
0 commit comments