Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow root path of "/" #211

Open
bizurkur opened this issue Feb 17, 2020 · 0 comments
Open

Allow root path of "/" #211

bizurkur opened this issue Feb 17, 2020 · 0 comments

Comments

@bizurkur
Copy link
Contributor

Copied from #64:

I propose being able to store files directly into the vfs without first having to create an arbitrarily named directory to store everything in since I believe that is counter-intuitive for new users. I propose doing this by calling vfsStream::setup('/');, or better still, make it the default behaviour when calling vfsStream::setup();.

Changing the default would cause a BC break and force everyone who accesses the current default "root" path directly to update their tests.

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

No branches or pull requests

1 participant