afero
afero copied to clipboard
allow absolute paths in BasePathFs when prefix is "" on windows
As a special case, it is OK to allow absolute paths access when the BasePathFs.path
is empty.
Sometimes we need to provide access to full FS through BasePathFs type for code simplicity (to pass it to the functions, that want BasePathFs
specific type, not just afero.FS
interface).