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
-
Notifications
You must be signed in to change notification settings - Fork 0
nerd-framework/path-utils
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Function made to convert relative paths to absolute paths
Resources
Stars
Watchers
Forks
Packages 0
No packages published