From a9ab035496e53b1c83ad74591314fd267130f861 Mon Sep 17 00:00:00 2001 From: Kyle Jessup Date: Tue, 17 Jan 2017 14:05:16 -0500 Subject: [PATCH] Doc comment on link Former-commit-id: d2c0a7a759b6615cb1cd0c88791b38317130f71d --- Sources/PerfectLib/File.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/PerfectLib/File.swift b/Sources/PerfectLib/File.swift index 7dcc0728..d1021f94 100644 --- a/Sources/PerfectLib/File.swift +++ b/Sources/PerfectLib/File.swift @@ -390,6 +390,7 @@ public extension File { return (Int32(mode) & Int32(S_IFMT)) == Int32(S_IFLNK) } + /// Create a symlink from the target to the destination. @discardableResult public func linkTo(path: String, overWrite: Bool = false) throws -> File { let destFile = File(path)