public static function lstat($path, $cb, $pri = EIO_PRI_DEFAULT)
{
$cb = CallbackWrapper::forceWrap($cb);
if (!self::$supported) {
$cb($path, FileSystem::statPrepare(lstat($path)));
return true;
}
return eio_lstat($path, $pri, function ($path, $stat) use($cb) {
$cb($path, FileSystem::statPrepare($stat));
}, $path);
}