Learn R Programming

fs (version 1.6.0)

path_tidy: Tidy paths

Description

untidy paths are all different, tidy paths are all the same. Tidy paths always use / to delimit directories, never have multiple / or trailing / and have colourised output based on the file type.

Usage

path_tidy(path)

Value

An fs_path object, which is a character vector that also has class fs_path

Arguments

path

A character vector of one or more paths.