@@ 163-166 (lines=4) @@ | ||
160 | } |
|
161 | return false; |
|
162 | } |
|
163 | if (!FileSystem::$supported) { |
|
164 | $cb($this, FileSystem::statPrepare(fstat($this->fd))); |
|
165 | return false; |
|
166 | } |
|
167 | if ($this->stat) { |
|
168 | $cb($this, $this->stat); |
|
169 | return true; |
|
@@ 192-195 (lines=4) @@ | ||
189 | } |
|
190 | return false; |
|
191 | } |
|
192 | if (!FileSystem::$supported) { |
|
193 | $cb($this, FileSystem::statPrepare(fstat($this->fd))); |
|
194 | return true; |
|
195 | } |
|
196 | return eio_fstat($this->fd, $pri, function ($file, $stat) use ($cb) { |
|
197 | $stat = FileSystem::statPrepare($stat); |
|
198 | $file->stat = $stat; |