path_tidy: Tidy paths

View source: R/path.R

path_tidyR Documentation

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)

Arguments

path

A character vector of one or more paths.

Value

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


fs documentation built on Oct. 30, 2024, 9:06 a.m.