microsoft / microsoft/VFSForGit
PHP stat fails inside src folder
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 474
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 8
Description
I'm unsure if this is a PHP issue but it's exclusive to VFS for Git repos I have so saying it here for now.
PHP's stat function fails and spits out a warning when attempting to check any files or folders within (and including) src.
PHP Warning: stat(): stat failed for g:\projects\testrepos\php-vfs\src in php shell code on line 1
The lstat function does appear to work fine, however given everything else uses stat it still prevents anything working that affecting files or folders.
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 reproducing PHP's stat warning for files and folders under the VFS for Git repository's src path, then compare the behavior with lstat. The issue is done when stat works for those paths without warnings and dependent file operations function normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, php
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100