Skip to content

allow absolute paths in BasePathFs when prefix is "" on windows#420

Open
DenKoren wants to merge 3 commits intospf13:masterfrom
DenKoren:master
Open

allow absolute paths in BasePathFs when prefix is "" on windows#420
DenKoren wants to merge 3 commits intospf13:masterfrom
DenKoren:master

Conversation

@DenKoren
Copy link

@DenKoren DenKoren commented Mar 25, 2024

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).

@CLAassistant
Copy link

CLAassistant commented Mar 25, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments