vfsStream icon indicating copy to clipboard operation
vfsStream copied to clipboard

removeChild does not work recursive

Open bernhard-efler opened this issue 5 years ago • 0 comments

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.

bernhard-efler avatar Apr 20 '20 12:04 bernhard-efler