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 |
|
Aaron Piotrowski
|
76cdea9af7
|
Use shared style defintions; update styles
|
2018-10-27 10:57:31 -05:00 |
|
Andrew Mackrodt
|
fa9534a038
|
Fixes EioDriver and UvDriver readlink implementation
|
2018-10-27 10:45:28 -05:00 |
|
Andrew Mackrodt
|
3e5da2b245
|
Fixes invalid stat result in UvDriver
|
2018-10-27 10:44:01 -05:00 |
|
Manuele Menozzi
|
ed5495f084
|
Fixes wrong mkdir default mode
|
2018-03-15 18:35:10 +01:00 |
|
Aaron Piotrowski
|
fb58fe8dd5
|
Update to amphp/parallel 0.2
|
2017-12-14 22:36:16 -06:00 |
|
eugene kirillov
|
b67c83752c
|
Add optional time parameters to touch function (#22)
|
2017-11-22 20:55:30 -06:00 |
|
Aaron Piotrowski
|
5bac9ec725
|
Fix eof logic and remove seek tests for ParallelHandle
|
2017-07-06 16:51:20 -05:00 |
|
Niklas Keller
|
8b43826073
|
Ignore double close
|
2017-06-21 14:07:49 +02:00 |
|
Niklas Keller
|
a13bb6f721
|
Use ClosedException as mandated by the ByteStream interfaces
This commit also changes end() to wait for the close() to finish before returning.
|
2017-06-21 11:01:19 +02:00 |
|
Niklas Keller
|
2eb8eb7662
|
Clean up execute for tests
|
2017-06-20 19:37:41 +02:00 |
|
Niklas Keller
|
4cccc8d0f7
|
Ensure reads resolve to null on EOF, fixes #13
|
2017-06-20 18:25:37 +02:00 |
|
Niklas Keller
|
a8048dcc60
|
Don't yield first write in testWrite
|
2017-06-20 07:58:30 +02:00 |
|
Aaron Piotrowski
|
c98ea5ec42
|
Fix code style from merge
|
2017-06-20 00:31:58 -05:00 |
|
Aaron Piotrowski
|
9e7c1c1488
|
Forbid simultaneous conflicting ops
Signficantly refactored EioHandle and UvHandle.
|
2017-06-20 00:17:07 -05:00 |
|
Niklas Keller
|
75d2a77951
|
Account for umask in file permission assertion
|
2017-06-18 20:38:03 +02:00 |
|
Niklas Keller
|
7d2c28dd37
|
Don't use backslash in fixture
|
2017-06-18 00:26:34 +02:00 |
|
Niklas Keller
|
1a46ea9b13
|
Remove bogus array_filter to allow 0 as directory name
|
2017-06-17 23:47:08 +02:00 |
|
Niklas Keller
|
62428ca0ef
|
Fix code style
|
2017-06-17 23:41:57 +02:00 |
|
Niklas Keller
|
7a96e10a35
|
Fix failing testMkdirRmdir
|
2017-06-17 15:36:51 +02:00 |
|
Aaron Piotrowski
|
4f9630298f
|
Throw FilesytemException on closed file
We may wish to change this later, but at least it is consistent between drivers now.
|
2017-06-16 18:21:56 -05:00 |
|
Aaron Piotrowski
|
477683f58f
|
Use Fixture in Driver test; general test cleanup
|
2017-06-16 18:12:42 -05:00 |
|
Aaron Piotrowski
|
5e5c8ab85b
|
Close handle after each test; Fix pool startup and shutdown
|
2017-05-18 10:31:20 -05:00 |
|
Aaron Piotrowski
|
783ad03940
|
Use separate pool for each parallel test
Shutdown the pool after each test to avoid spawning many workers.
|
2017-05-17 22:59:17 -05:00 |
|
Aaron Piotrowski
|
32454e960b
|
Upgrade to PHPUnit 6
|
2017-05-17 22:58:39 -05:00 |
|
Aaron Piotrowski
|
b3f354472f
|
Update for async-interop merge and other Amp changes
|
2017-03-16 22:39:49 -05:00 |
|
Aaron Piotrowski
|
0d76557e8e
|
Fix UV driver
|
2017-01-11 10:29:14 -06:00 |
|
Aaron Piotrowski
|
97b2d20534
|
Merge branch 'amp_v2' of https://github.com/amphp/file into amp_v2
|
2017-01-11 09:55:20 -06:00 |
|
Niklas Keller
|
a26ba1ca1f
|
Change interop namespace
|
2017-01-11 14:22:06 +01:00 |
|
Aaron Piotrowski
|
78ec5cc634
|
Merge branch 'master' into amp_v2
|
2017-01-11 00:05:18 -06:00 |
|