symlink: Utility functions to handle symlinks

View source: R/symlink.R

symlinkR Documentation

Description

symlink() is a simple wrapper of fs::link_create(). Existing links are replaced if link paths are different.

link_resolve() is a non-stop variant of fs::path_real().

Usage

symlink(path, target, follow = TRUE)

link_resolve(path)

Arguments

path

A character vector.

target

A character vector. If an existing directory is given, links are created there.

follow

A logical vector. FALSE means ln -h on macOS and ln -n on Linux.


heavywatal/rwtl documentation built on April 29, 2024, 2:02 a.m.