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


pik-piam/madrat documentation built on May 19, 2024, 11:43 p.m.