diriter: don't double '/' on posix
The canonical directory path of the root directory of a volume on POSIX already ends in a slash (eg, `/`). This is true only at the root. Do not add a slash to paths in this case.
Showing
Please
register
or
sign in
to comment