vfsStreamWrapper::unregister()
, provided by @malkusch with #114..
in root directory on PHP 5.5, fix provided by @acoulton with #116vfsStream::copyFromFileSystem()
should create large file instancesvfsStream::copyFromFileSystem()
should respect block devicestouch()
does not respect file permissionsRecursiveDirectoryIterator
org\bovigo\vfs\vfsStreamFile::readUntilEnd()
org\bovigo\vfs\vfsStreamFile::getBytesRead()
url()
method on all vfsStreamContent
instances
org\bovigo\vfs\vfsStreamContent::url()
org\bovigo\vfs\vfsStreamContent::path()
unlink()
must consider permissions of directory where file is inside, not of the file to unlink itselfchmod()
, chown()
and chgrp()
must consider permissions of directory where file/directory is insidechmod()
, chown()
and chgrp()
must consider current user and current owner of file/directoy to changestreamWrapper::stream_metadata()
vfsStream now supports touch()
, chown()
, chgrp()
and chmod()
stream_truncate()
(provided by https://github.com/nikcorg)fopen()
fclose()
vfsStreamWrapper::stream_open()
should return false while trying to open existing non-writable file, patch provided by Alexander PeresypkinvfsStream::copyFromFileSystem()
, patch provided by predakangamkdir()
overwrites existing directories/filesvfsStream::create()
removes old structureunlink()
should not remove any directoryvfsStreamDirectory::hasChild()
gives false positives for nested paths, patch provided by Andrew CoultonvfsStreamContent
to vfsStreamContainer
for autocompletionvfsStream::create()
has issues with numeric directories, patch provided by mathieukvfsStreamContainer::hasChildren()
and vfsStreamDirectory::hasChildren()
vfsStreamContent::setFilemtime()
stream_set_blocking()
, stream_set_timeout()
and stream_set_write_buffer()
on vfsStream urls have the same behaviour with PHP 5.2 and 5.3fileatime()
and filectime()
streamWrapper::stream_cast()
vfsStreamAbstractContent::setFilemtime()
, use vfsStreamAbstractContent::lastModified()
instead, will be removed with 0.10.0vfsStream::umask()
to influence initial file mode for files and directoriesgetChild()
returns NULL when child's name contains parent namevfsStream::setup()
method to simplify vfsStream usagemkdir()
creates a subfolder in a folder without permissions$mode
param when opening files, implements enhancement #7 and fixes issue #13vfsStreamWrapper::stream_open()
now evaluates $options
for STREAM_REPORT_ERRORS
rename()
, patch provided by Benoit Aubuchonvfs://foo/.
resolves to vfs://foo
, can be used as workaround for bug #8vfsStreamDirectory::addChild()
does not replace child with same nameis_writable()
because of missing stat()
fields, patch provided by Sergey Galkinrmdir()
vfsStream::newDirectory()
, dropped vfsStreamDirectory::ceate()
vfsStreamContainer
vfsStreamContent::at()
which allows code like $file = vfsStream::newFile('file.txt.')->withContent('foo')->at($otherDir);
vfsStreamContent::lastModified()
, made vfsStreamContent::setFilemtime()
an alias for thisvfsStreamWrapper::PROTOCOL
to vfsStream::SCHEME
vfsStream::url()
method to assist in creating correct vfsStream urlsvfsStream::path()
method as opposite to vfsStream::url()
vfsStreamWrapper::register()
will now reset the root to null, implemented on request from David Zuelkeis_readable()
, is_dir()
, is_file()
vfsStream::newFile()
to be able to do $file = vfsStream::newFile("foo.txt")->withContent("bar");