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

removeChild does not work recursive #228

Open
bernhard-efler opened this issue Apr 20, 2020 · 0 comments
Open

removeChild does not work recursive #228

bernhard-efler opened this issue Apr 20, 2020 · 0 comments

Comments

@bernhard-efler
Copy link

Unlike getChild removeChild does not work recursive.
Instead the child is removed even when the requested name does not full match.

$vfs->removeChild('production/file.php') removes the full production directory.

My expectation is that only "production/file.php" is removed, or maybe that nothing happens.
But not that the whole directory is removed.

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

No branches or pull requests

2 participants