getLinkFunction: getLinkFunction

View source: R/getLinkFunction.R

getLinkFunctionR Documentation

getLinkFunction

Description

Returns a function that creates a symlink, hardlink, junction, or copy of files and directories, depending on OS capabilities (usually symlinks are not supported on Windows).

Usage

getLinkFunction()

Value

A function with arguments "from" and "to" which should behave like file.symlink on all platforms.

Author(s)

Pascal Sauer


madrat documentation built on April 4, 2025, 5:41 a.m.