filesystem
filesystem copied to clipboard
Evented filesystem access.
I've tried to run [this example](https://github.com/reactphp/filesystem/blob/master/examples/file_to_file_copy.php) with copying one file to another. It fails with: ``` Notice: Undefined offset: 1 in vendor/react/filesystem/src/ChildProcess/Adapter.php on line 225 ``` I thinks this happens...
Hi! I check tail example and it is not working for me. I got: ``` PHP Warning: Illegal offset type in /var/www/vendor/react/filesystem/src/ChildProcess/Adapter.php on line 198 PHP Warning: Illegal offset type...
Greetings 👋, I'm fairly new to ReactPHP, please forgive me if this is something obvious and my Google/Stack Overflow search skills have just failed me 🙈. `"react/filesystem": "^0.1.2"` is the...
I'm implementing a service using `reactphp/filesystem` that allows for data transfer supporting resume operations. In order to accomplish this, I need to be able to `seek()` to a particular offset...
Hi, I'm stacked at situation where I can't use this beautiful library. I have PHP 7.0.32 with php-fpm enabled. Here is additional information about extensions directly from phpinfo: // PHP...
I've noticed that ls does not list (all?) my symlinks in a certain dir when using eio adapter. It seems to be due to eio_readlink in the cases of these...
**Steps to reproduce behavior** **1. create file** ``` php -r 'foreach(range(0, 1000000) as $i) { print $i . PHP_EOL; }' > static/test.txt ``` **2. create script** ```php
I faced an issue with eio adapter. Simple snippet to reproduce: ``` $loop = \React\EventLoop\Factory::create(); $contents = '123'; $filesystem = \React\Filesystem\Filesystem::create($loop); echo 'Using ', get_class($filesystem->getAdapter()), PHP_EOL; $j = 0; $loop->addPeriodicTimer(1,...
#### Description Trying to read 10 files from disk usually ends up skipping some of them randomly with error ``` Unknown error calling: "eio_open" ``` Takes for ever to load...
I'm using dir()->ls() to create an array of nodes which I then stat, unfortunately stat() does not work as expected on symlinks: it returns the size of the symlink file...