@@ 169-172 (lines=4) @@ | ||
166 | } |
|
167 | return false; |
|
168 | } |
|
169 | if (!FileSystem::$supported) { |
|
170 | $cb($this, FileSystem::statPrepare(fstat($this->fd))); |
|
171 | return false; |
|
172 | } |
|
173 | if ($this->stat) { |
|
174 | $cb($this, $this->stat); |
|
175 | return true; |
|
@@ 199-202 (lines=4) @@ | ||
196 | } |
|
197 | return false; |
|
198 | } |
|
199 | if (!FileSystem::$supported) { |
|
200 | $cb($this, FileSystem::statPrepare(fstat($this->fd))); |
|
201 | return true; |
|
202 | } |
|
203 | return eio_fstat($this->fd, $pri, function ($file, $stat) use ($cb) { |
|
204 | $stat = FileSystem::statPrepare($stat); |
|
205 | $file->stat = $stat; |