File: link_path.Rd

package info (click to toggle)
r-cran-fs 1.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 724 kB
  • sloc: cpp: 1,269; ansic: 531; sh: 13; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/link.R
\name{link_path}
\alias{link_path}
\title{Read the value of a symbolic link}
\usage{
link_path(path)
}
\arguments{
\item{path}{A character vector of one or more paths.}
}
\value{
A tidy path to the object the link points to.
}
\description{
Read the value of a symbolic link
}
\examples{
\dontshow{.old_wd <- setwd(tempdir())}
file_create("foo")
link_create(path_abs("foo"), "bar")
link_path("bar")

# Cleanup
file_delete(c("foo", "bar"))
\dontshow{setwd(.old_wd)}
}