1
0
mirror of https://github.com/danog/file.git synced 2024-12-13 17:57:23 +01:00
Commit Graph

196 Commits

Author SHA1 Message Date
Niklas Keller
64249c2c62 Merge pull request #12 from amphp/streams
Streams
2017-05-16 19:11:47 +02:00
Aaron Piotrowski
9b8b1daeb0 Implement stream interfaces in Handle 2017-05-12 15:43:23 -05:00
Aaron Piotrowski
b8c3321533 Fix mode to flags parsing 2017-05-12 15:38:03 -05:00
Aaron Piotrowski
1f264d949e Revert "Use byte-stream package"
This reverts commit ffde7791d7.

Oops… wrong branch.
2017-05-12 10:12:44 -05:00
Aaron Piotrowski
ffde7791d7 Use byte-stream package 2017-05-11 18:17:35 -05:00
Aaron Piotrowski
97256b9029 when() → onResolve() 2017-03-21 18:53:55 -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
650c448497 Update ParallelDriver with recursive mkdir() 2017-01-11 00:05:35 -06:00
Aaron Piotrowski
78ec5cc634 Merge branch 'master' into amp_v2 2017-01-11 00:05:18 -06:00
Aaron Piotrowski
994f05e88f Update travis build 2016-12-29 21:00:05 -06: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
ffb21714e9 Awaitable → Promise 2016-11-14 23:17:19 -06:00
Bob Weinand
2712356453 Tabs <3 ? (Use spaces instead) 2016-10-04 14:09:19 +02:00
Bob Weinand
534f67f7ef Add PHP 5 yield parenthesis... 2016-10-04 14:02:51 +02:00
Bob Weinand
af2ce9b256 Add PHP 5 yield parenthesis... 2016-10-03 12:28:19 +02:00
Bob Weinand
cf7a966900 Fix #11 - use 0666 default permissions and rely on umask() 2016-10-03 12:17:05 +02:00
Bob Weinand
c822717106 Tabs <3 2016-10-01 19:28:30 +01:00
Bob Weinand
6612ae6757 EioDriver and UvDriver did not pass O_TRUNC in file\put
Also prepare tag 0.1.3
2016-10-01 18:43:52 +01:00
Sergey Gelunenko
ada86677c9 replace slashes to DS 2016-09-28 15:18:05 +03:00
Sergey Gelunenko
058ef8b563 add default value 2016-09-28 15:15:12 +03:00
Sergey Gelunenko
76701d6918 recursive mkdir, fix #5 2016-09-28 13:39:24 +03:00
Aaron Piotrowski
a8af5a281d Parallel driver 2016-08-30 14:05:14 -05:00
Aaron Piotrowski
6eeeeacab2 Update branch aliases 2016-08-24 11:02:28 -05:00
Aaron Piotrowski
89657620dd Fix EioDriver::touch(); use static function for watcher 2016-08-24 01:21:14 -05:00
Aaron Piotrowski
226e196f29 Always provide priorities to eio functions 2016-08-24 00:31:56 -05:00
Aaron Piotrowski
7e54aa20ea Fix EioDriver::chown() prototype 2016-08-24 00:01:55 -05:00
Aaron Piotrowski
2db21996c6 Use strict types 2016-08-24 00:01:41 -05:00
Aaron Piotrowski
06c2707c1f Update travis build 2016-08-23 23:58:25 -05:00
Aaron Piotrowski
34599943bc More driver functions; add type declarations; code cleanup 2016-08-23 23:55:06 -05:00
Niklas Keller
0577bf7f63 Fix return type docs for open 2016-08-14 20:42:33 +02:00
Aaron Piotrowski
b20530b89e Update for loop registry changes 2016-08-12 10:47:55 -05:00
Niklas Keller
19d28484e8 Update php-cs-fixer dependency to friendsofphp 2016-07-23 09:42:51 +02:00
Bob Weinand
1725c684a0 Upgrade to Amp v2 2016-07-21 01:39:27 +02:00
Niklas Keller
7e04d6bade Replace all RuntimeExceptions with FilesystemExceptions 2016-03-24 18:31:44 +01:00
Bob Weinand
cb3b8e536b Fix read lengths (bugfix in php-uv)
Also prepare tag 0.1.1
2016-02-08 02:02:23 +01:00
Bob Weinand
11d8c79db4 Merge pull request #7 from amphp/patch-chown-ignore
Fix #6: Ignore UID / GID @ chown if -1
2015-12-09 21:59:25 +01:00
Niklas Keller
0f47c27ccf Fix #6: Ignore UID / GID @ chown if -1 2015-12-09 21:45:28 +01:00
Bob Weinand
fe2387bb21 Merge pull request #4 from kelunik/statcache
Fix clearstatcache signature
2015-10-25 14:39:08 +01:00
Niklas Keller
f84da4651d Fix clearstatcache signature 2015-10-25 02:50:30 +01:00
Bob Weinand
ef27c46ac8 Fix handle failures and always clear StatCache when necessary 2015-09-11 00:40:33 +02:00
Bob Weinand
846f7ef22f Fix imports 2015-09-11 00:28:19 +02:00
Daniel Lowrey
25110da3e5 Invalidate cache entries when files/dirs are deleted 2015-09-09 09:19:40 -04:00
Daniel Lowrey
498022983e Fix stat cache derps 2015-08-29 07:34:36 -04:00
Daniel Lowrey
4bda31dd5f Merge pull request #2 from kelunik/patch-1
Fix composer.json
2015-08-14 08:40:58 -04:00
Niklas Keller
3069b4b3dd Fix composer.json 2015-08-14 07:13:51 +02:00
Daniel Lowrey
8be0e9d8e7 remove superfluous semi-colons 2015-08-13 11:31:28 -04:00
Daniel Lowrey
ab05daa5a5 Stream file handle support 2015-08-13 10:15:04 -04:00