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

Description Usage Arguments Value Author(s) Examples

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/motus-R-package documentation built on May 18, 2019, 7:03 p.m.