File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -935,6 +935,12 @@ public class RerootedFileSystemView: FileSystem {
935935 return try underlyingFileSystem. createDirectory ( path, recursive: recursive)
936936 }
937937
938+ public func createSymbolicLink( _ path: AbsolutePath , pointingAt destination: AbsolutePath ) throws {
939+ let path = formUnderlyingPath ( path)
940+ let destination = formUnderlyingPath ( destination)
941+ return try underlyingFileSystem. createSymbolicLink ( path, pointingAt: destination)
942+ }
943+
938944 public func readFileContents( _ path: AbsolutePath ) throws -> ByteString {
939945 return try underlyingFileSystem. readFileContents ( formUnderlyingPath ( path) )
940946 }
@@ -945,7 +951,7 @@ public class RerootedFileSystemView: FileSystem {
945951 }
946952
947953 public func removeFileTree( _ path: AbsolutePath ) throws {
948- try underlyingFileSystem. removeFileTree ( path)
954+ try underlyingFileSystem. removeFileTree ( formUnderlyingPath ( path) )
949955 }
950956
951957 public func chmod( _ mode: FileMode , path: AbsolutePath , options: Set < FileMode . Option > ) throws {
You can’t perform that action at this time.
0 commit comments