Resources can be read using their absolute file system paths:
php
use Puli\Repository\FilesystemRepository;
$repo = new FilesystemRepository();
$resource = $repo->get('/home/puli/.gitconfig');
The returned resources implement {@link FilesystemResource}.
Optionally, a root directory can be passed to the constructor. Then all paths
will be read relative to that directory:
php
$repo = new FilesystemRepository('/home/puli');
$resource = $repo->get('/.gitconfig');
While "." and ".." segments are supported, files outside the root directory
cannot be read. Any leading ".." segments will simply be stripped off.