nerd-components/path-utils

Functions for manipulations with directory paths

v0.1 2016-09-30 08:02 UTC

This package is not auto-updated.

Last update: 2024-05-15 19:18:39 UTC


README

Build Status Coverage Status StyleCI

Usage

use function Nerd\Utils\AbsolutePath\pathMaker;

$make = pathMaker('/some/root');

echo $make('file'); 		// /some/root/file
echo $make('../foo.txt'); 	// /some/foo.txt
echo $make('./other.txt');	// /some/root/other.txt