trimCommonPath: Remove any common leading path from a set of paths.

Description Usage Arguments Value Author(s) Examples

View source: R/trimCommonPath.R

Description

Remove any common leading path from a set of paths.

Usage

1

Arguments

files

character vector of full paths to files

Value

files, with any leading common path removed.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm

Examples

1
trimCommonPath(c("/A/B/C", "/A/B/D/E", "/A/B/F")) == c("C", "D/E", "F")

jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.