Add "realpath" support for custom stream wrapper
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Currently, applications relying on realpath cannot be virtualized using VFS as realpath is supported for real file pathes only.
This is a feature request to allow realpath to be implemented by a custom stream wrapper.
Preferably explicitly (if a method is implemented) and implicitly (if a method is not implemented) assuming one VFS scheme represents one file system.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how realpath handles filesystem paths and how custom stream wrappers are dispatched. Define the explicit and implicit wrapper behavior described in the issue, then add coverage showing that realpath can be virtualized for a VFS scheme.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, php
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100