file icon indicating copy to clipboard operation
file copied to clipboard

An abstraction layer and non-blocking file access solution that keeps your application responsive.

Results 18 file issues
Sort by recently updated
recently updated
newest added

```php require 'vendor/autoload.php'; $file = Amp\File\openFile('test.txt', 'a'); $file->write("test\n"); unset($file); Revolt\EventLoop::run(); ``` 1. When using default driver the execution hangs. 2. When using eio driver the `a` mode behaves like `w`....

bug

When I'm using the EIO driver, calling `yield filesystem()->createDirectoryRecursively("/tmp");` errors out, while the BlockingDriver returns `new Success()`. It would be nice if they behave identical, so we don't have to...

I cant start new session, I delete everything, update package , create new settings file but I get this error: stat(): stat failed for E:\session.madeline.safe.php in BlockingDriver.php:47 The file session.madeline...

The same error happens, no matter what the permissions are. The same exact code works fine under Linux. ---------------------------------------------- Exception: fwrite(): write of 8192 bytes failed with errno=13 Permission denied...

Hello Guys, This is not a real issue i just did not find another way to communicate which is available to me. Perhaps i just cant find it but is...

``` Error: Call to a member function onResolve() on array in /home/kelunik/GitHub/composer/mirror-fiber/vendor/amphp/file/src/Driver/UvDriver.php:413 Stack trace: #0 /home/kelunik/GitHub/composer/mirror-fiber/vendor/amphp/file/src/Driver/UvDriver.php(232): Amp\File\Driver\UvDriver->isDir('/') #1 /home/kelunik/GitHub/composer/mirror-fiber/vendor/amphp/file/src/Driver/UvDriver.php(246): Amp\File\Driver\UvDriver->Amp\File\Driver\{closure}() #2 /home/kelunik/GitHub/composer/mirror-fiber/vendor/amphp/file/src/Driver/StatusCachingDriver.php(109): Amp\File\Driver\UvDriver->createDirectoryRecursively('/home/kelunik/G...', 511) ```

In 1.x branch StatCache never expires

Provides compatibility with amphp/parallel 2.x-dev.

Specify the path which doesn't exist when the path doesn't exist. I can't test this locally as I don't have the necessary extensions (eio, uv) to install the dev dependencies....