link_path: Read the value of a symbolic link

View source: R/link.R

link_pathR Documentation

Description

Read the value of a symbolic link

Usage

link_path(path)

Arguments

path

A character vector of one or more paths.

Value

A tidy path to the object the link points to.

Examples


file_create("foo")
link_create(path_abs("foo"), "bar")
link_path("bar")

# Cleanup
file_delete(c("foo", "bar"))


fs documentation built on Oct. 30, 2024, 9:06 a.m.