Path-cash-join: Join two path components

Description Arguments Value See Also Examples

Description

Given two path components, join them and return a new Path object

Arguments

other

the path component to join on the RHS. Can be any object coercible to character, including Path

Value

A new Path object resulting from the joined paths

See Also

Other Path: Path$.., Path$., Path$dir, Path$name, Path$new, Path$parent, Path$show, Path, %//%

Examples

1
2
3
4
{
path <- Path$new("some/path")
path$join("other/path")
}

pathlibr documentation built on May 1, 2019, 8:22 p.m.