Learn R Programming

fs (version 1.0.0)

path_tidy: Tidy paths

Description

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

Usage

path_tidy(path)

Arguments

path

A character vector of one or more paths.

Value

A fs_path object