Skip to content

Commit a9ab035

Browse files
committed
Doc comment on link
Former-commit-id: d2c0a7a
1 parent b39bca9 commit a9ab035

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/PerfectLib/File.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ public extension File {
390390
return (Int32(mode) & Int32(S_IFMT)) == Int32(S_IFLNK)
391391
}
392392

393+
/// Create a symlink from the target to the destination.
393394
@discardableResult
394395
public func linkTo(path: String, overWrite: Bool = false) throws -> File {
395396
let destFile = File(path)

0 commit comments

Comments
 (0)