1
0
mirror of https://github.com/danog/file.git synced 2024-12-11 16:59:39 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
9e7c1c1488
Forbid simultaneous conflicting ops
Signficantly refactored EioHandle and UvHandle.
2017-06-20 00:17:07 -05: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
32454e960b Upgrade to PHPUnit 6 2017-05-17 22:58:39 -05:00
Aaron Piotrowski
c6e6c32aaf Drop strict types
Dropping strict types so it is not enforced in callbacks provided by application code.
2016-12-29 20:59:59 -06:00
Aaron Piotrowski
a8af5a281d Parallel driver 2016-08-30 14:05:14 -05:00
Aaron Piotrowski
2db21996c6 Use strict types 2016-08-24 00:01:41 -05:00
Bob Weinand
1725c684a0 Upgrade to Amp v2 2016-07-21 01:39:27 +02:00
Daniel Lowrey
ab05daa5a5 Stream file handle support 2015-08-13 10:15:04 -04:00