File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ extension Path {
420420
421421 /// Creates a symbolic link at a new destination.
422422 ///
423- /// - Parameter destintation : The location where the link will be created.
423+ /// - Parameter destination : The location where the link will be created.
424424 ///
425425 public func symlink( _ destination: Path ) throws -> ( ) {
426426 try Path . fileManager. createSymbolicLink ( atPath: self . path, withDestinationPath: destination. path)
@@ -541,8 +541,6 @@ extension Path {
541541 /// - Parameter encoding: the encoding which should be used to represent the string as bytes.
542542 /// (by default: `NSUTF8StringEncoding`)
543543 ///
544- /// - Returns: the contents of the file at the specified path as string.
545- ///
546544 public func write( _ string: String , encoding: String . Encoding = String . Encoding. utf8) throws {
547545 try string. write ( toFile: normalize ( ) . path, atomically: true , encoding: encoding)
548546 }
You can’t perform that action at this time.
0 commit comments