Php/docs/evstat.stat

提供:Dev Guides
< Php
2020年12月14日 (月) 12:48時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

EvStat::stat

(PECL ev >= 0.2.0)

EvStat::statInitiates the stat call


説明

public EvStat::stat ( ) : bool

Initiates the stat call(updates internal cache). It stats(using lstat ) the path specified in the watcher and sets to the values found.


パラメータ

この関数にはパラメータはありません。


返り値

Returns true if path exists. Otherwise false.


参考

  • EvStat::attr() - Returns the values most recently detected by Ev
  • EvStat::prev() - Returns the previous set of values returned by EvStat::attr