메소드 |
설명 |
|
__construct ( ) |
|
|
checkFileReadable ( string $path ) : boolean |
Checks if file exists and readable |
|
chown ( string $path, integer $uid, integer $gid, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
Changes ownership of file/directory |
|
genRndTempnam ( string $dir = null, string $prefix = 'php' ) : string |
Returns random temporary file name |
|
genRndTempnamPrefix ( string $dir, string $prefix ) : string |
Returns random temporary file name |
|
init ( ) : void |
Initialize FS driver |
|
initEvent ( ) : void |
Initialize main FS event |
|
lstat ( string $path, callable $cb, integer $pri = EIO_PRI_DEFAULT ) : resource | true |
lstat() |
|
mkdir ( string $path, integer $mode, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
Creates directory |
|
open ( string $path, string $flags, callable $cb, integer $mode = null, integer $pri = EIO_PRI_DEFAULT ) : resource |
Open file |
|
readdir ( string $path, callable $cb = null, integer $flags = null, integer $pri = EIO_PRI_DEFAULT ) : resource | true |
Readdir() |
|
readfile ( string $path, callable $cb, integer $pri = EIO_PRI_DEFAULT ) : resource | true |
Reads whole file |
|
readfileChunked ( string $path, callable $cb, callable $chunkcb, integer $pri = EIO_PRI_DEFAULT ) : resource |
Reads file chunk-by-chunk |
|
realpath ( string $path, callable $cb, integer $pri = EIO_PRI_DEFAULT ) : resource | true |
realpath() |
|
rename ( string $path, string $newpath, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
Rename |
|
rmdir ( string $path, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
Removes empty directory |
|
sanitizePath ( string $path ) : string |
Sanitize path |
|
sendfile ( mixed $outfd, string $path, callable $cb, callable $startCb = null, integer $offset, integer $length = null, integer $pri = EIO_PRI_DEFAULT ) : true |
sendfile() |
|
stat ( string $path, callable $cb, integer $pri = EIO_PRI_DEFAULT ) : resource | true |
Gets stat() information |
|
statPrepare ( mixed $stat ) : array |
Prepare value of stat() |
|
statvfs ( string $path, callable $cb, integer $pri = EIO_PRI_DEFAULT ) : resource | false |
statvfs() |
|
sync ( callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | false |
sync() |
|
syncfs ( callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | false |
statfs() |
|
tempnam ( string $dir, string $prefix, callable $cb ) : resource |
Obtain exclusive temporary file |
|
touch ( string $path, integer $mtime, integer $atime = null, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
touch() |
|
truncate ( string $path, integer $offset, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
Truncate file |
|
unlink ( string $path, callable $cb = null, integer $pri = EIO_PRI_DEFAULT ) : resource | boolean |
Unlink file |
|
updateConfig ( ) : void |
Called when config is updated |
|
waitAllEvents ( ) : void |
Block until all FS events are completed |
|