1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
Commit Graph

106 Commits

Author SHA1 Message Date
Niklas Keller
97caf0b3cd
Fix automatic closing of uv files
Relates to #69.
2022-09-08 21:30:49 +02:00
Niklas Keller
915b666c0a
Add test for read in append mode 2022-09-08 21:05:43 +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
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
76a84c1552 Try a different condition for Windows 2022-02-08 23:43:31 +01:00
Niklas Keller
3143155546 Run check on Windows only 2022-02-08 23:37:40 +01:00
Niklas Keller
a82d8f22a0 Try a different condition for Windows 2022-02-08 23:29:12 +01:00
Niklas Keller
440d4fb434 Try test skip on Windows due to symlink in build path 2022-02-08 22:56:28 +01:00
Niklas Keller
83582fe723 Fix Windows tests 2022-02-08 22:50:57 +01:00
Niklas Keller
8ced3f0d17 Try to fix some more tests on Windows 2022-02-08 22:43:53 +01:00
Niklas Keller
a2328098e9 Try to fix some more tests on Windows 2022-02-08 22:38:50 +01:00
Niklas Keller
067229676b Fix return type 2022-02-08 22:06:40 +01:00
Niklas Keller
58d738fae6 Fix some tests on Windows 2022-02-08 22:04:15 +01:00
Niklas Keller
1eba16a584 Skip link loops on Windows 2022-02-08 21:42:35 +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
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
742d9303d0
Use Revolt and update for Amp changes 2021-10-16 00:04:27 -05:00
Aaron Piotrowski
3e012f9e78
Refactor for Amp v3 2020-10-22 00:35:54 -05:00
Niklas Keller
cfc330afcc Fix code style 2020-10-21 23:27:24 +02:00
Niklas Keller
8ed01f294a Clear stat cache in Fixture 2020-10-21 23:17:22 +02:00
Niklas Keller
2162e7dc48 Rework stat cache to use a decorator 2020-10-21 22:52:43 +02:00
Niklas Keller
3983198322 Forward global functions to Filesystem 2020-10-21 21:04:52 +02:00
Aaron Piotrowski
701e1c974e
Forgot Eio tests 2020-07-06 13:28:39 -05:00
Niklas Keller
c0bdd0f55b Fix watcher error 2020-07-01 07:23:23 +02:00
Niklas Keller
06f40308da Make UvPoll depend on passed driver, fix code style 2020-07-01 06:19:09 +02:00
Niklas Keller
82c1f039ad Fix EioDriverTest 2020-06-30 21:49:55 +02:00
Niklas Keller
8d949a9eae Redesign Driver API 2020-06-30 21:45:09 +02:00
Niklas Keller
781eb9c88e Improve method names in Driver 2020-06-24 22:00:24 +02:00
Jáchym Toušek
0ed53c601e
Make drivers more consistent / reduce driver API (#38)
Co-authored-by: Niklas Keller <me@kelunik.com>
2020-06-23 22:40:48 +02:00
Jáchym Toušek
289a723d5e
Add AsyncFileMutex (#43) 2020-05-02 11:14:21 +02:00
Jáchym Toušek
6a506de7ad
Fix UvDriver (#46) 2020-05-02 09:39:57 +02:00
Aaron Piotrowski
8b4a36802d
Fix async file test 2020-02-21 13:12:48 -06:00
Aaron Piotrowski
ae97b95e3e
Support ext-uv 0.3.0 2020-02-21 13:05:03 -06:00
Aaron Piotrowski
28bdce091e
Rename Handle to File
Handle interface still provided for backward compatibility.
2019-08-23 14:47:03 -05:00
Aaron Piotrowski
660e0068d1
Refactor tests for AsyncTestCase 2019-08-23 13:59:26 -05:00
Aaron Piotrowski
6f11e413e9
Update tests for PHPUnit deprecations 2019-08-23 13:23:33 -05:00
Aaron Piotrowski
1bce4b075d
Upgrade to PHP 7.1 and update dependencies 2019-08-23 13:00:26 -05:00
Aaron Piotrowski
654596edeb
Fix UV writing in append mode 2019-03-01 10:38:57 -06:00
Aaron Piotrowski
94f772bd7a
Quiet style fixer 2019-01-07 11:38:45 -06:00
Aaron Piotrowski
94c3bb631c
Avoid warning when writing an empty string with eio
No warning emitted from uv, but there's also no reason to call uv_fs_write().
2019-01-07 11:32:42 -06:00
Aaron Piotrowski
8cfe851cd2
Add truncate() to Handle
Addresses #32.
2018-10-28 23:55:11 -05:00