Lines Matching refs:lstat
1056 $stat = $this->lstat($dir . '/' . $key);
1150 $this->update_stat_cache($temp, (object) ['lstat' => $attributes]);
1298 // 2. it's a symlink. when lstat is done it's unclear what it's a symlink to
1310 if (!isset($value->lstat) && isset($temp[$dir]->lstat)) {
1311 $value->lstat = $temp[$dir]->lstat;
1437 public function lstat($filename)
1450 if (is_array($result) && isset($result['.']) && isset($result['.']->lstat)) {
1451 return $result['.']->lstat;
1453 if (is_object($result) && isset($result->lstat)) {
1454 return $result->lstat;
1458 $lstat = $this->stat_helper($filename, NET_SFTP_LSTAT);
1459 if ($lstat === false) {
1463 if (isset($lstat['type'])) {
1464 if ($lstat['type'] == NET_SFTP_TYPE_DIRECTORY) {
1467 $this->update_stat_cache($filename, (object) ['lstat' => $lstat]);
1468 return $lstat;
1473 if ($lstat != $stat) {
1474 $lstat = array_merge($lstat, ['type' => NET_SFTP_TYPE_SYMLINK]);
1475 $this->update_stat_cache($filename, (object) ['lstat' => $lstat]);
1480 $lstat['type'] = $this->chdir($filename) ?
1485 if ($lstat['type'] == NET_SFTP_TYPE_DIRECTORY) {
1488 $this->update_stat_cache($filename, (object) ['lstat' => $lstat]);
1490 return $lstat;
2906 * Return an lstat properity
2916 return $this->get_xstat_cache_prop($path, $prop, 'lstat');
2920 * Return a stat or lstat properity