Niklas Keller
|
efeb737b1f
|
Fix touch on non-existent files in uv / eio drivers
Fixes #73.
|
2023-07-23 20:54:06 +02:00 |
|
|
c2313ea280
|
Fix write() truncation with ext-uv and ext-eio (#76)
|
2023-07-23 20:06:15 +02:00 |
|
Niklas Keller
|
b98d205a91
|
Replace promise with future
|
2023-03-02 22:50:39 +01:00 |
|
Niklas Keller
|
8d36700b5d
|
Fix code style
|
2023-02-23 20:34:09 +01:00 |
|
Niklas Keller
|
7ac668368d
|
Turn whence into an enum
|
2023-02-23 20:30:43 +01:00 |
|
Niklas Keller
|
b8e3314417
|
Don't fail if directory exists on recursive creation
|
2023-02-18 17:32:06 +01:00 |
|
Aaron Piotrowski
|
de1f4c1e08
|
Update for amphp/parallel v2.0
|
2023-02-18 09:49:06 -06:00 |
|
Aaron Piotrowski
|
dc2bc3f982
|
Make better use of BlockingFilesystemDriver in FileTask
|
2023-01-08 10:17:37 -06:00 |
|
Aaron Piotrowski
|
47277f7f16
|
Make further use of PHP 8.1 features
|
2023-01-08 10:16:49 -06:00 |
|
Aaron Piotrowski
|
db002ce874
|
Compatibility with iterable readable streams
|
2023-01-08 00:13:11 -06:00 |
|
Aaron Piotrowski
|
f4bd0dff96
|
Declare strict types
|
2022-12-17 15:52:21 -06:00 |
|
Aaron Piotrowski
|
1dfa6454e9
|
Fix filesize after write in ParallelFile
|
2022-11-23 14:46:07 -06:00 |
|
Aaron Piotrowski
|
a86be72957
|
Fix writable flag if opened in read-only mode
|
2022-11-20 10:40:40 -06:00 |
|
Aaron Piotrowski
|
91505b49e7
|
Await pending writes before closing
|
2022-11-20 10:39:47 -06:00 |
|
Aaron Piotrowski
|
d68ac6dc4f
|
Extract common code from UvFile and EioFile into an internal abstract class
|
2022-11-18 11:48:43 -06:00 |
|
Aaron Piotrowski
|
cce4422d0d
|
Improve pending op handling in UvFile and EioFile
|
2022-11-17 18:54:46 -06:00 |
|
Niklas Keller
|
8f0bbaa67a
|
Add docs to README
|
2022-09-16 20:46:09 +02:00 |
|
Niklas Keller
|
97caf0b3cd
|
Fix automatic closing of uv files
Relates to #69.
|
2022-09-08 21:30:49 +02:00 |
|
Niklas Keller
|
0c3980004b
|
Fix tell behavior in blocking implementation for append modes
|
2022-09-08 21:01:50 +02:00 |
|
Niklas Keller
|
f8af54964f
|
Remove file truncation with append modes with ext-eio
|
2022-09-08 20:44:18 +02:00 |
|
Niklas Keller
|
7881691e81
|
Fix exception message in BlockingFilesystemDriver::write
|
2022-09-08 19:53:45 +02:00 |
|
Oleg Kolesov
|
65a77cdf2c
|
Fix createDirectoryRecursively with trailing slash with uv / eio (#71)
Fixes #70.
Applies 402dc969447cc2243f4bcd7f2a3ba5abc0188ebc to v3.
|
2022-09-08 19:37:49 +02:00 |
|
Aaron Piotrowski
|
ee8f10f512
|
Update for changes to Closable interface
Also require PHP 8.1 and use features.
|
2022-03-28 18:05:56 -05:00 |
|
Niklas Keller
|
f018099831
|
Rename atEnd → eof
|
2022-02-09 01:28:59 +01:00 |
|
Niklas Keller
|
6fc18e8f1d
|
Improve exception documentation
|
2022-02-08 22:20:28 +01:00 |
|
Niklas Keller
|
42f95c3691
|
Upgrade to php-cs-fixer v3
|
2022-02-08 21:34:54 +01:00 |
|
Niklas Keller
|
ad85a98309
|
Add psalm, require check
|
2022-02-08 21:16:59 +01:00 |
|
Niklas Keller
|
42c378130e
|
Rename Sync\AsyncFileMutex → FileMutex
|
2022-02-08 19:52:03 +01:00 |
|
Niklas Keller
|
c9e30f5687
|
Rename Driver → FilesystemDriver
|
2022-02-08 19:49:16 +01:00 |
|
Niklas Keller
|
6bcd502fd7
|
Fix exception documentation
|
2022-02-08 19:29:07 +01:00 |
|
Niklas Keller
|
83654deeba
|
Merge branch 'master' into v3
* master:
Remove unnecessary double assignment
Return written length in blocking and parallel drivers (#64)
# Conflicts:
# src/Driver/BlockingFile.php
# src/Driver/ParallelFile.php
# test/FileTest.php
|
2022-02-08 19:17:30 +01:00 |
|
Niklas Keller
|
f306068680
|
Run invalidate in finally block
|
2022-02-08 19:15:38 +01:00 |
|
Niklas Keller
|
013f592f3e
|
Remove unnecessary double assignment
|
2022-02-08 18:57:37 +01:00 |
|
|
255797807b
|
Return written length in blocking and parallel drivers (#64)
|
2022-02-08 18:53:31 +01:00 |
|
Aaron Piotrowski
|
dad4f97100
|
Update for further dependency changes
|
2022-02-07 19:31:21 -06:00 |
|
Aaron Piotrowski
|
858c2a46fc
|
Update for amphp/parallel changes
|
2021-12-22 17:23:01 -06:00 |
|
Niklas Keller
|
c46262eff3
|
Update for beta changes
|
2021-12-22 22:54:20 +01:00 |
|
Bob Weinand
|
a15f524472
|
Update for recent renames
|
2021-12-04 15:23:37 +01:00 |
|
Aaron Piotrowski
|
3513e8fee2
|
Add isClosed
|
2021-11-21 22:55:15 -06:00 |
|
Aaron Piotrowski
|
b2b263092e
|
Update for stream changes and coroutine to launch rename
|
2021-11-21 13:12:23 -06:00 |
|
Aaron Piotrowski
|
7d31b42f82
|
Update for removal of Revolt\launch
|
2021-10-19 19:13:54 -05:00 |
|
Aaron Piotrowski
|
742d9303d0
|
Use Revolt and update for Amp changes
|
2021-10-16 00:04:27 -05:00 |
|
Aaron Piotrowski
|
67c4cb07c2
|
Merge branch 'master' into v3
|
2021-10-15 17:07:19 -05:00 |
|
Jáchym Toušek
|
3d3d084b81
|
Fix EioDriver (#61)
|
2021-09-19 23:35:03 -05:00 |
|
Aaron Piotrowski
|
03844ce122
|
Merge branch 'master' into v3
# Conflicts:
# composer.json
# src/Driver/ParallelFile.php
|
2021-07-13 23:03:53 -05:00 |
|
Niklas Keller
|
17b758986d
|
Fix deprecation warning on PHP 8.1
|
2021-07-12 22:20:01 +02:00 |
|
Aaron Piotrowski
|
f406950680
|
Remove call to eio_init
Deprecated in eio v2, removed in v3.
|
2021-05-21 14:23:48 -05:00 |
|
Aaron Piotrowski
|
faec49c347
|
Update for rename
|
2020-12-12 12:47:07 -06:00 |
|
Aaron Piotrowski
|
d84e7dec95
|
Fix rebase mistake
This rename must have been accidently overwritten.
|
2020-11-10 16:27:57 -06:00 |
|
Aaron Piotrowski
|
3e012f9e78
|
Refactor for Amp v3
|
2020-10-22 00:35:54 -05:00 |
|