mirror of
https://github.com/danog/file.git
synced 2024-11-26 11:54:54 +01:00
Update ParallelDriver with recursive mkdir()
This commit is contained in:
parent
78ec5cc634
commit
650c448497
@ -119,8 +119,8 @@ class ParallelDriver implements Driver {
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function mkdir(string $path, int $mode = 0644): Promise {
|
||||
return new Coroutine($this->runFileTask(new Internal\FileTask("mkdir", [$path, $mode])));
|
||||
public function mkdir(string $path, int $mode = 0644, bool $recursive = false): Promise {
|
||||
return new Coroutine($this->runFileTask(new Internal\FileTask("mkdir", [$path, $mode, $recursive])));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user