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

46 Commits

Author SHA1 Message Date
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
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
Manuele Menozzi
7bb476921b Fix mkdir mode in Driver and implementations (#27) 2018-03-17 13:24:35 +01: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
Niklas Keller
f2f21ef0c0 Refactor UvDriver and UvHandle to use UvPoll as busy watcher
Fixes #16.
2017-06-20 23:39:14 +02:00
Niklas Keller
587514b598 Reintroduce operation watching for UV and array_filter fix 2017-06-20 13:38:36 +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
f21ff58272 Use counter to prevent race conditions in UvDriver
Fixes #16.
2017-06-18 21:03:44 +02:00
Niklas Keller
5e1651468b Revert backslash normalization 2017-06-18 00:33:22 +02:00
Niklas Keller
0708ba14b3 Handle backslashes in paths correctly 2017-06-17 23:51:29 +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
Aaron Piotrowski
cadc86d85a Function for parsing mode 2017-05-17 22:34:27 -05:00
Aaron Piotrowski
6ad1b8e55f Update for object-based uv extension 2017-05-16 19:55:24 -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
78ec5cc634 Merge branch 'master' into amp_v2 2017-01-11 00:05:18 -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
cf7a966900 Fix #11 - use 0666 default permissions and rely on umask() 2016-10-03 12:17:05 +02: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
2db21996c6 Use strict types 2016-08-24 00:01:41 -05:00
Aaron Piotrowski
34599943bc More driver functions; add type declarations; code cleanup 2016-08-23 23:55:06 -05: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
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
498022983e Fix stat cache derps 2015-08-29 07:34:36 -04:00
Daniel Lowrey
ab05daa5a5 Stream file handle support 2015-08-13 10:15:04 -04:00
Bob Weinand
8f1aaf344a Do not skip scandir test (bug fixed in php-uv repo)
Fix Exception type
2015-08-08 16:53:40 +02:00
Daniel Lowrey
27d9dfd466 Updates, new functionality 2015-08-08 10:42:41 -04:00
Bob Weinand
e4c9e44b0e Generate coverage for UvDriver too; fix few phpdocs 2015-08-07 18:03:39 +02:00
Daniel Lowrey
130303aeee Transition from Filesystem -> File 2015-08-05 10:55:56 -04:00
Daniel Lowrey
07e110ac03 renaming 2015-07-30 10:17:41 -04:00