Read the value of a symbolic link

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")
#> /private/var/folders/dt/r5s12t392tb5sk181j3gs4zw0000gn/T/RtmpLHIKhA/foo
# Cleanup file_delete(c("foo", "bar"))