File: path_tidy.Rd

package info (click to toggle)
r-cran-fs 1.6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 744 kB
  • sloc: cpp: 1,288; ansic: 530; sh: 13; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 565 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/path.R
\name{path_tidy}
\alias{path_tidy}
\title{Tidy paths}
\usage{
path_tidy(path)
}
\arguments{
\item{path}{A character vector of one or more paths.}
}
\value{
An \code{fs_path} object, which is a character vector that also has class
\code{fs_path}
}
\description{
untidy paths are all different, tidy paths are all the same.
Tidy paths always use \code{/} to delimit directories, never have
multiple \code{/} or trailing \code{/} and have colourised output based on the file
type.
}