1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00
Commit Graph

202 Commits

Author SHA1 Message Date
Niklas Keller
dbb066aa1d Add branch alias 2020-04-30 18:09:02 +02:00
Jáchym Toušek
7dc65ffc03
Skip usage of EIO_O_FSYNC if undefined (#42)
Co-authored-by: Niklas Keller <me@kelunik.com>
2020-04-21 18:32:57 +02:00
Jáchym Toušek
9e8bb4defe
Use short list syntax (#40) 2020-03-06 14:06:39 -06:00
Jáchym Toušek
041d8b38b0
Fix link function (#37) 2020-03-06 14:05:30 -06:00
Aaron Piotrowski
647f0043cb
Update error handling in BlockingFile
Related to #36.
2020-02-21 13:17:46 -06:00
Aaron Piotrowski
8b4a36802d
Fix async file test 2020-02-21 13:12:48 -06:00
Aaron Piotrowski
d2dafed3c8
Update travis build 2020-02-21 13:06:01 -06:00
Aaron Piotrowski
ae97b95e3e
Support ext-uv 0.3.0 2020-02-21 13:05:03 -06:00
Aaron Piotrowski
80cfffa823
Remove Makefile, replaced with composer scripts 2019-09-13 22:09:41 -05:00
Aaron Piotrowski
1ca28699c7
lib → src 2019-09-13 22:06:22 -05:00
Aaron Piotrowski
6b56ad783e
Make UvDriver final
Missed this one before I guess…
2019-09-13 15:01:42 -05:00
55c8f020d7 Do not use the last error if it is null (#33) 2019-09-13 14:57:14 -05:00
Aaron Piotrowski
5aecc606b7
File extends Handle
File doesn't show as deprecated in IDEs even though it's parent is deprecated, so this is best.
2019-09-12 19:24:44 -05:00
Aaron Piotrowski
52f94db519
Separate File and Handle
Handle does not include truncate() as this method was not part of the v0.3.x interface.
2019-09-12 19:13:28 -05: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
e752d0a55b
Remove circular references in poll classes 2019-08-23 14:12:33 -05:00
Aaron Piotrowski
0de3b31101
Update travis testing versions 2019-08-23 14:03:16 -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
843e1a2442
Declare classes final 2019-08-23 10:15:51 -05:00
Aaron Piotrowski
afa16cc0e1
Rename driver() to createDefaultDriver() 2019-05-30 10:16:32 -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
25d8ef6e67
Sort file names in scandir() with eio
Matches behavior of other drivers.
2018-10-28 09:38:35 -05:00
Aaron Piotrowski
36de5ba892
Add isSupported() method 2018-10-28 09:36:23 -05:00
Aaron Piotrowski
04f047aec6
Fix scandir on empty directory in UvDriver 2018-10-27 11:35:33 -05:00
Aaron Piotrowski
e037235b9b
Update travis cache directories 2018-10-27 11:24:06 -05:00
Aaron Piotrowski
76cdea9af7
Use shared style defintions; update styles 2018-10-27 10:57:31 -05:00
Andrew Mackrodt
4f54f94358 Return after failing deferred 2018-10-27 10:45:28 -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
Aaron Piotrowski
836e0ebb03
Update to amphp/parallel v1.0 2018-10-27 10:21:18 -05:00
Niklas Keller
cc1d11993e Ignore docs/asset on export
Relates to amphp/amp#227
2018-05-16 22:25:49 +02:00
Manuele Menozzi
7bb476921b Fix mkdir mode in Driver and implementations (#27) 2018-03-17 13:24:35 +01:00
Bob Weinand
59d14c779e
Merge pull request #26 from mmenozzi/mkdir-mode-fix
Fixes wrong mkdir default mode
2018-03-16 15:22:20 +01:00
Manuele Menozzi
ed5495f084 Fixes wrong mkdir default mode 2018-03-15 18:35:10 +01:00
Niklas Keller
36bb70a95b Disable phpdbg where it segfaults 2017-12-17 20:57:37 +01:00
Aaron Piotrowski
fb58fe8dd5
Update to amphp/parallel 0.2 2017-12-14 22:36:16 -06:00
Aaron Piotrowski
f4c5a623ff
Fix install order 2017-12-02 20:15:36 -06:00
Aaron Piotrowski
917aaca671
Define target platform in composer.json and fix .travis.yml 2017-12-02 20:06:41 -06:00
Aaron Piotrowski
c8163fd735
Update coveralls package 2017-11-30 20:08:10 -06:00
Aaron Piotrowski
c801d3645a
Test on 7.2 2017-11-30 20:02:03 -06:00
eugene kirillov
b67c83752c Add optional time parameters to touch function (#22) 2017-11-22 20:55:30 -06:00
Aaron Piotrowski
9a375918ae
Reflect "e" flag changes and mode validation to BlockingDriver 2017-10-29 23:10:35 -05:00
Aaron Piotrowski
2f42596ac7
Remove potential duplicate "e" flag 2017-10-29 22:58:08 -05:00
Scott Pringle
271ad2bf4a
Additionally use "e" flag when opening files 2017-10-29 22:56:53 -05:00
Josh Di Fabio
007e084779 Remove redundant int cast 2017-10-03 11:42:39 +02:00