-
Notifications
You must be signed in to change notification settings - Fork 102
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
Symbolic Links #89
Comments
There is no further code for this feature. I had the thought of implementing it, but didn't come up with a good idea how to do it, and as I didn't have the need for it no further attempts were made. So go ahead. :-) |
Alright, I'm working on some solutions, I'll let you know what I come up with. |
In order to make this work you need to compile your own PHP from https://github.com/thekid/php-src branch rfc/linking_in_stream_wrappers
Started working on this topic together with @thekid. See our RFC for PHP. The current implementation state can be retrieved from https://github.com/thekid/php-src, branch rfc/linking_in_stream_wrappers. Additionally, in vfsStream's linking branch implementation has started. |
Is this one ready for release? Anything that can be done to help? |
We started but never got around to finish it. As for now I think this feature is dead - mostly because it also requires changes in PHP and I don't see anyone going ahead to make those changes. Also, I believe the chance of those changes being merged into PHP are quite low, as to my knowledge they would only be beneficial for vfsStream and nothing else. But if you want to, you can take over the RFC, provide an implementation and see if it gets accepted. |
Thanks for the status update. I must admit that I totally missed the part about the RFC, otherwise I wouldn't have even asked. |
Closing this for now. |
Hi! I am in the same case as @hborawski. I have some tests scenarios that must involve symbolic links. |
In a testing situation, I will need the php builtin
readlink
to resolve a symbolic link in the virtual filesystem.I will gladly implement this, and would just like to know of any existing code towards this feature so that it may be utilized (I suspect code does exists because the
const
forTYPE_LINK
exists invfsStreamContent
already).The text was updated successfully, but these errors were encountered: