rfc:streammetadata
This is an old revision of the document!
Request for Comments: How to write RFCs
- Version: 1.0
- Date: 2011-03-13
- Author: Stas Malyshev stas@php.net
- Status: Draft
- First Published at: http://wiki.php.net/rfc/streammetadata
Purpose
PHP file streams provide very powerful and useful abstraction layer over the I/O-related functions. However, there's a group of functions which are excluded from this support - namely, touch(), chmod(), chown() and chgrp() - i.e., functions dealing with file metadata. This lead to libraries implementing FS virtualization developing various hacks, such as here: https://code.google.com/p/bovigo/wiki/vfsStreamDocsFilemode
The purpose of this RFC is to plug this hole by creating stream metadata API allowing to override these functions.
Engine part
Userspace part
Examples
rfc/streammetadata.1300074070.txt.gz · Last modified: 2017/09/22 13:28 (external edit)